azure_mgmt_storage 0.16.1 → 0.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage.rb +109 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/blob_containers.rb +1721 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/action.rb +15 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/dimension.rb +57 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption.rb +74 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/endpoints.rb +84 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb +72 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/iprule.rb +61 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/kind.rb +17 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/management_policies_rules_set_parameter.rb +50 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/operation.rb +83 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/operation_display.rb +68 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/public_access.rb +17 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/resource.rb +74 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/restriction.rb +85 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/sku.rb +157 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/sku_name.rb +19 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account.rb +326 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +62 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +179 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_management_policies.rb +88 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +167 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/usage.rb +89 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/module_definition.rb +9 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/operations.rb +108 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/skus.rb +114 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_accounts.rb +1670 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +146 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/usages.rb +207 -0
- data/lib/azure_mgmt_storage.rb +6 -5
- data/lib/profiles/latest/modules/storage_profile_module.rb +198 -190
- data/lib/version.rb +1 -1
- metadata +87 -2
@@ -0,0 +1,47 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The parameters used to regenerate the storage account key.
|
10
|
+
#
|
11
|
+
class StorageAccountRegenerateKeyParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of storage keys that want to be regenerated,
|
16
|
+
# possible vaules are key1, key2.
|
17
|
+
attr_accessor :key_name
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for StorageAccountRegenerateKeyParameters class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'StorageAccountRegenerateKeyParameters',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'StorageAccountRegenerateKeyParameters',
|
32
|
+
model_properties: {
|
33
|
+
key_name: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: true,
|
36
|
+
serialized_name: 'keyName',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The parameters that can be provided when updating the storage account
|
10
|
+
# properties.
|
11
|
+
#
|
12
|
+
class StorageAccountUpdateParameters
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Sku] Gets or sets the SKU name. Note that the SKU name cannot
|
17
|
+
# be updated to Standard_ZRS or Premium_LRS, nor can accounts of those
|
18
|
+
# sku names be updated to any other value.
|
19
|
+
attr_accessor :sku
|
20
|
+
|
21
|
+
# @return [Hash{String => String}] Gets or sets a list of key value pairs
|
22
|
+
# that describe the resource. These tags can be used in viewing and
|
23
|
+
# grouping this resource (across resource groups). A maximum of 15 tags
|
24
|
+
# can be provided for a resource. Each tag must have a key no greater in
|
25
|
+
# length than 128 characters and a value no greater in length than 256
|
26
|
+
# characters.
|
27
|
+
attr_accessor :tags
|
28
|
+
|
29
|
+
# @return [Identity] The identity of the resource.
|
30
|
+
attr_accessor :identity
|
31
|
+
|
32
|
+
# @return [CustomDomain] Custom domain assigned to the storage account by
|
33
|
+
# the user. Name is the CNAME source. Only one custom domain is supported
|
34
|
+
# per storage account at this time. To clear the existing custom domain,
|
35
|
+
# use an empty string for the custom domain name property.
|
36
|
+
attr_accessor :custom_domain
|
37
|
+
|
38
|
+
# @return [Encryption] Provides the encryption settings on the account.
|
39
|
+
# The default setting is unencrypted.
|
40
|
+
attr_accessor :encryption
|
41
|
+
|
42
|
+
# @return [AccessTier] Required for storage accounts where kind =
|
43
|
+
# BlobStorage. The access tier used for billing. Possible values include:
|
44
|
+
# 'Hot', 'Cool'
|
45
|
+
attr_accessor :access_tier
|
46
|
+
|
47
|
+
# @return [Boolean] Allows https traffic only to storage service if sets
|
48
|
+
# to true. Default value: false .
|
49
|
+
attr_accessor :enable_https_traffic_only
|
50
|
+
|
51
|
+
# @return [NetworkRuleSet] Network rule set
|
52
|
+
attr_accessor :network_rule_set
|
53
|
+
|
54
|
+
# @return [Kind] Optional. Indicates the type of storage account.
|
55
|
+
# Currently only StorageV2 value supported by server. Possible values
|
56
|
+
# include: 'Storage', 'StorageV2', 'BlobStorage'
|
57
|
+
attr_accessor :kind
|
58
|
+
|
59
|
+
|
60
|
+
#
|
61
|
+
# Mapper for StorageAccountUpdateParameters class as Ruby Hash.
|
62
|
+
# This will be used for serialization/deserialization.
|
63
|
+
#
|
64
|
+
def self.mapper()
|
65
|
+
{
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'StorageAccountUpdateParameters',
|
69
|
+
type: {
|
70
|
+
name: 'Composite',
|
71
|
+
class_name: 'StorageAccountUpdateParameters',
|
72
|
+
model_properties: {
|
73
|
+
sku: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'sku',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'Sku'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
tags: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'tags',
|
86
|
+
type: {
|
87
|
+
name: 'Dictionary',
|
88
|
+
value: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'StringElementType',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
},
|
98
|
+
identity: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'identity',
|
102
|
+
type: {
|
103
|
+
name: 'Composite',
|
104
|
+
class_name: 'Identity'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
custom_domain: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'properties.customDomain',
|
111
|
+
type: {
|
112
|
+
name: 'Composite',
|
113
|
+
class_name: 'CustomDomain'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
encryption: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'properties.encryption',
|
120
|
+
type: {
|
121
|
+
name: 'Composite',
|
122
|
+
class_name: 'Encryption'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
access_tier: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'properties.accessTier',
|
129
|
+
type: {
|
130
|
+
name: 'Enum',
|
131
|
+
module: 'AccessTier'
|
132
|
+
}
|
133
|
+
},
|
134
|
+
enable_https_traffic_only: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'properties.supportsHttpsTrafficOnly',
|
138
|
+
default_value: false,
|
139
|
+
type: {
|
140
|
+
name: 'Boolean'
|
141
|
+
}
|
142
|
+
},
|
143
|
+
network_rule_set: {
|
144
|
+
client_side_validation: true,
|
145
|
+
required: false,
|
146
|
+
serialized_name: 'properties.networkAcls',
|
147
|
+
type: {
|
148
|
+
name: 'Composite',
|
149
|
+
class_name: 'NetworkRuleSet'
|
150
|
+
}
|
151
|
+
},
|
152
|
+
kind: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'kind',
|
156
|
+
type: {
|
157
|
+
name: 'Enum',
|
158
|
+
module: 'Kind'
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The response from the List Storage SKUs operation.
|
10
|
+
#
|
11
|
+
class StorageSkuListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Sku>] Get the list result of storage SKUs and their
|
16
|
+
# properties.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for StorageSkuListResult class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'StorageSkuListResult',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'StorageSkuListResult',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'value',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'SkuElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'Sku'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A tag of the LegalHold of a blob container.
|
10
|
+
#
|
11
|
+
class TagProperty
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The tag value.
|
16
|
+
attr_accessor :tag
|
17
|
+
|
18
|
+
# @return [DateTime] Returns the date and time the tag was added.
|
19
|
+
attr_accessor :timestamp
|
20
|
+
|
21
|
+
# @return [String] Returns the Object ID of the user who added the tag.
|
22
|
+
attr_accessor :object_identifier
|
23
|
+
|
24
|
+
# @return [String] Returns the Tenant ID that issued the token for the
|
25
|
+
# user who added the tag.
|
26
|
+
attr_accessor :tenant_id
|
27
|
+
|
28
|
+
# @return [String] Returns the User Principal Name of the user who added
|
29
|
+
# the tag.
|
30
|
+
attr_accessor :upn
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for TagProperty class as Ruby Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'TagProperty',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'TagProperty',
|
45
|
+
model_properties: {
|
46
|
+
tag: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'tag',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
timestamp: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'timestamp',
|
60
|
+
type: {
|
61
|
+
name: 'DateTime'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
object_identifier: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'objectIdentifier',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
tenant_id: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'tenantId',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
upn: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
read_only: true,
|
86
|
+
serialized_name: 'upn',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a ARM tracked top level resource
|
10
|
+
#
|
11
|
+
class TrackedResource < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Resource tags.
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
# @return [String] The geo-location where the resource lives
|
19
|
+
attr_accessor :location
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for TrackedResource class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'TrackedResource',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'TrackedResource',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
type: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'type',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
tags: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'tags',
|
66
|
+
type: {
|
67
|
+
name: 'Dictionary',
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'StringElementType',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
location: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: true,
|
81
|
+
serialized_name: 'location',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|