Sha256: 482db9f05dcce68e720ff5bc2caaa6d4245c97bd486ef1da0b1664ca0e3b27dc

Contents?: true

Size: 1.86 KB

Versions: 2

Compression:

Stored size: 1.86 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Resources
  module Models
    #
    # Export resource group template request parameters.
    #
    class ExportTemplateRequest

      include MsRestAzure

      include MsRest::JSONable
      # @return [Array<String>] The IDs of the resources. The only supported
      # string currently is '*' (all resources). Future updates will support
      # exporting specific resources.
      attr_accessor :resources

      # @return [String] The export template options. Supported values include
      # 'IncludeParameterDefaultValue', 'IncludeComments' or
      # 'IncludeParameterDefaultValue, IncludeComments
      attr_accessor :options


      #
      # Mapper for ExportTemplateRequest class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ExportTemplateRequest',
          type: {
            name: 'Composite',
            class_name: 'ExportTemplateRequest',
            model_properties: {
              resources: {
                required: false,
                serialized_name: 'resources',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              options: {
                required: false,
                serialized_name: 'options',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_resources-0.12.0 lib/generated/azure_mgmt_resources/models/export_template_request.rb
azure_mgmt_resources-0.11.0 lib/generated/azure_mgmt_resources/models/export_template_request.rb