class Azure::StorageSync::Mgmt::V2018_04_02::Models::ServerEndpointCreateParameters

The parameters used when creating a storage sync service.

Attributes

cloud_tiering[RW]

@return [Enum] Cloud Tiering. Possible values include: 'on', 'off'

friendly_name[RW]

@return [String] Friendly Name

location[RW]

@return [String] Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed.

server_local_path[RW]

@return [String] Server Local path.

server_resource_id[RW]

@return [String] Server Resource Id.

tags[RW]

@return [Hash{String => String}] Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.

volume_free_space_percent[RW]

@return [Integer] Level of free space to be maintained by Cloud Tiering if it is enabled.

Public Class Methods

mapper() click to toggle source

Mapper for ServerEndpointCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb, line 51
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServerEndpointCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'ServerEndpointCreateParameters',
      model_properties: {
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        server_local_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serverLocalPath',
          type: {
            name: 'String'
          }
        },
        cloud_tiering: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.cloudTiering',
          type: {
            name: 'String'
          }
        },
        volume_free_space_percent: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.volumeFreeSpacePercent',
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        friendly_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.friendlyName',
          type: {
            name: 'String'
          }
        },
        server_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serverResourceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end