Class: Azure::StorageSync::Mgmt::V2018_07_01::Models::StorageSyncServiceCreateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb

Overview

The parameters used when creating a storage sync service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#locationString

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.

Returns:

  • (String)

    Required. Gets or sets the location of the resource.



20
21
22
# File 'lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb', line 20

def location
  @location
end

#propertiesObject

Returns:



31
32
33
# File 'lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb', line 31

def properties
  @properties
end

#tagsHash{String => String}

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.

Returns:

  • (Hash{String => String})

    Gets or sets a list of key value pairs



28
29
30
# File 'lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb', line 28

def tags
  @tags
end

Class Method Details

.mapperObject

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



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageSyncServiceCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'StorageSyncServiceCreateParameters',
      model_properties: {
        location: {
          client_side_validation: true,
          required: true,
          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'
                }
            }
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end