startSoftwareDeploymentToImageBuilder method
Initiates license included applications deployment to an image builder instance.
May throw ConcurrentModificationException.
May throw OperationNotPermittedException.
May throw ResourceNotFoundException.
Parameter imageBuilderName :
The name of the target image builder instance.
Parameter retryFailedDeployments :
Whether to retry previously failed license included application
deployments.
Implementation
Future<void> startSoftwareDeploymentToImageBuilder({
required String imageBuilderName,
bool? retryFailedDeployments,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target':
'PhotonAdminProxyService.StartSoftwareDeploymentToImageBuilder'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ImageBuilderName': imageBuilderName,
if (retryFailedDeployments != null)
'RetryFailedDeployments': retryFailedDeployments,
},
);
}