Class ExportTemplateRequest
java.lang.Object
com.azure.resourcemanager.resources.models.ExportTemplateRequest
Export resource group template request parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionoptions()Get the options property: The export template options.Get the resources property: The IDs of the resources to filter the export by.voidvalidate()Validates the instance.withOptions(String options) Set the options property: The export template options.withResources(List<String> resources) Set the resources property: The IDs of the resources to filter the export by.
-
Constructor Details
-
ExportTemplateRequest
public ExportTemplateRequest()Creates an instance of ExportTemplateRequest class.
-
-
Method Details
-
resources
Get the resources property: The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.- Returns:
- the resources value.
-
withResources
Set the resources property: The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.- Parameters:
resources- the resources value to set.- Returns:
- the ExportTemplateRequest object itself.
-
options
Get the options property: The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'.- Returns:
- the options value.
-
withOptions
Set the options property: The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'.- Parameters:
options- the options value to set.- Returns:
- the ExportTemplateRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-