Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.resources; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
Export resource group template request parameters.
/** * Export resource group template request parameters. */
public class ExportTemplateRequest {
The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.
/** * The IDs of the resources to filter the export by. To export all * resources, supply an array with single entry '*'. */
@JsonProperty(value = "resources") private List<String> resources;
The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'.
/** * The export template options. A CSV-formatted list containing zero or * more of the following: 'IncludeParameterDefaultValue', * 'IncludeComments', 'SkipResourceNameParameterization', * 'SkipAllParameterization'. */
@JsonProperty(value = "options") private String options;
Get the IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.
Returns:the resources value
/** * Get the IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'. * * @return the resources value */
public List<String> resources() { return this.resources; }
Set the IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.
Params:
  • resources – the resources value to set
Returns:the ExportTemplateRequest object itself.
/** * Set the IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'. * * @param resources the resources value to set * @return the ExportTemplateRequest object itself. */
public ExportTemplateRequest withResources(List<String> resources) { this.resources = resources; return this; }
Get the export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'.
Returns:the options value
/** * Get the export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'. * * @return the options value */
public String options() { return this.options; }
Set the export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'.
Params:
  • options – the options value to set
Returns:the ExportTemplateRequest object itself.
/** * Set the export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'. * * @param options the options value to set * @return the ExportTemplateRequest object itself. */
public ExportTemplateRequest withOptions(String options) { this.options = options; return this; } }