GenerateArmTemplateRequest Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. GenerateArmTemplateRequest
- com.
Implements
public final class GenerateArmTemplateRequest
implements JsonSerializable<GenerateArmTemplateRequest>
Parameters for generating an ARM template for deploying artifacts.
Constructor Summary
| Constructor | Description |
|---|---|
| GenerateArmTemplateRequest() |
Creates an instance of Generate |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
File |
fileUploadOptions()
Get the file |
|
static
Generate |
fromJson(JsonReader jsonReader)
Reads an instance of Generate |
| String |
location()
Get the location property: The location of the virtual machine. |
|
List<Parameter |
parameters()
Get the parameters property: The parameters of the ARM template. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
virtualMachineName()
Get the virtual |
|
Generate |
withFileUploadOptions(FileUploadOptions fileUploadOptions)
Set the file |
|
Generate |
withLocation(String location)
Set the location property: The location of the virtual machine. |
|
Generate |
withParameters(List<ParameterInfo> parameters)
Set the parameters property: The parameters of the ARM template. |
|
Generate |
withVirtualMachineName(String virtualMachineName)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
GenerateArmTemplateRequest
public GenerateArmTemplateRequest()
Creates an instance of GenerateArmTemplateRequest class.
Method Details
fileUploadOptions
public FileUploadOptions fileUploadOptions()
Get the fileUploadOptions property: Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.
Returns:
fromJson
public static GenerateArmTemplateRequest fromJson(JsonReader jsonReader)
Reads an instance of GenerateArmTemplateRequest from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The location of the virtual machine.
Returns:
parameters
public List<ParameterInfo> parameters()
Get the parameters property: The parameters of the ARM template.
Returns:
toJson
virtualMachineName
public String virtualMachineName()
Get the virtualMachineName property: The resource name of the virtual machine.
Returns:
withFileUploadOptions
public GenerateArmTemplateRequest withFileUploadOptions(FileUploadOptions fileUploadOptions)
Set the fileUploadOptions property: Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.
Parameters:
Returns:
withLocation
public GenerateArmTemplateRequest withLocation(String location)
Set the location property: The location of the virtual machine.
Parameters:
Returns:
withParameters
public GenerateArmTemplateRequest withParameters(List<ParameterInfo> parameters)
Set the parameters property: The parameters of the ARM template.
Parameters:
Returns:
withVirtualMachineName
public GenerateArmTemplateRequest withVirtualMachineName(String virtualMachineName)
Set the virtualMachineName property: The resource name of the virtual machine.
Parameters:
Returns: