Class GenerateArmTemplateRequest
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.GenerateArmTemplateRequest
Parameters for generating an ARM template for deploying artifacts.
-
Constructor Summary
ConstructorDescriptionCreates an instance of GenerateArmTemplateRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the fileUploadOptions property: Options for uploading the files for the artifact.location()
Get the location property: The location of the virtual machine.Get the parameters property: The parameters of the ARM template.void
validate()
Validates the instance.Get the virtualMachineName property: The resource name of the virtual machine.withFileUploadOptions
(FileUploadOptions fileUploadOptions) Set the fileUploadOptions property: Options for uploading the files for the artifact.withLocation
(String location) Set the location property: The location of the virtual machine.withParameters
(List<ParameterInfo> parameters) Set the parameters property: The parameters of the ARM template.withVirtualMachineName
(String virtualMachineName) Set the virtualMachineName property: The resource name of the virtual machine.
-
Constructor Details
-
GenerateArmTemplateRequest
public GenerateArmTemplateRequest()Creates an instance of GenerateArmTemplateRequest class.
-
-
Method Details
-
virtualMachineName
Get the virtualMachineName property: The resource name of the virtual machine.- Returns:
- the virtualMachineName value.
-
withVirtualMachineName
Set the virtualMachineName property: The resource name of the virtual machine.- Parameters:
virtualMachineName
- the virtualMachineName value to set.- Returns:
- the GenerateArmTemplateRequest object itself.
-
parameters
Get the parameters property: The parameters of the ARM template.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: The parameters of the ARM template.- Parameters:
parameters
- the parameters value to set.- Returns:
- the GenerateArmTemplateRequest object itself.
-
location
Get the location property: The location of the virtual machine.- Returns:
- the location value.
-
withLocation
Set the location property: The location of the virtual machine.- Parameters:
location
- the location value to set.- Returns:
- the GenerateArmTemplateRequest object itself.
-
fileUploadOptions
Get the fileUploadOptions property: Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.- Returns:
- the fileUploadOptions value.
-
withFileUploadOptions
Set the fileUploadOptions property: Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.- Parameters:
fileUploadOptions
- the fileUploadOptions value to set.- Returns:
- the GenerateArmTemplateRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-