azure_mgmt_storage 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- 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-02-01/generated/azure_mgmt_storage/models/operation_display.rb +11 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/operation_display.rb +11 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/service_sas_parameters.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_storage.rb +107 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/blob_containers.rb +1721 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/action.rb +15 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/sku.rb +159 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/sku_name.rb +20 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account.rb +349 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +62 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +203 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +179 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/operations.rb +108 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/skus.rb +114 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/storage_accounts.rb +1340 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/storage_management_client.rb +147 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/usages.rb +118 -0
- data/lib/azure_mgmt_storage.rb +1 -0
- data/lib/profiles/latest/modules/storage_profile_module.rb +207 -199
- data/lib/version.rb +1 -1
- metadata +86 -3
data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb
ADDED
@@ -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_07_01
|
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
|
@@ -0,0 +1,179 @@
|
|
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_07_01
|
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, Premium_LRS or Premium_ZRS, nor can
|
18
|
+
# accounts of those 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] Enables Azure Files AAD Integration for SMB if sets
|
48
|
+
# to true.
|
49
|
+
attr_accessor :enable_azure_files_aad_integration
|
50
|
+
|
51
|
+
# @return [Boolean] Allows https traffic only to storage service if sets
|
52
|
+
# to true.
|
53
|
+
attr_accessor :enable_https_traffic_only
|
54
|
+
|
55
|
+
# @return [NetworkRuleSet] Network rule set
|
56
|
+
attr_accessor :network_rule_set
|
57
|
+
|
58
|
+
# @return [Kind] Optional. Indicates the type of storage account.
|
59
|
+
# Currently only StorageV2 value supported by server. Possible values
|
60
|
+
# include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage',
|
61
|
+
# 'BlockBlobStorage'
|
62
|
+
attr_accessor :kind
|
63
|
+
|
64
|
+
|
65
|
+
#
|
66
|
+
# Mapper for StorageAccountUpdateParameters class as Ruby Hash.
|
67
|
+
# This will be used for serialization/deserialization.
|
68
|
+
#
|
69
|
+
def self.mapper()
|
70
|
+
{
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'StorageAccountUpdateParameters',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'StorageAccountUpdateParameters',
|
77
|
+
model_properties: {
|
78
|
+
sku: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'sku',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'Sku'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
tags: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'tags',
|
91
|
+
type: {
|
92
|
+
name: 'Dictionary',
|
93
|
+
value: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'StringElementType',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
},
|
103
|
+
identity: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
serialized_name: 'identity',
|
107
|
+
type: {
|
108
|
+
name: 'Composite',
|
109
|
+
class_name: 'Identity'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
custom_domain: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'properties.customDomain',
|
116
|
+
type: {
|
117
|
+
name: 'Composite',
|
118
|
+
class_name: 'CustomDomain'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
encryption: {
|
122
|
+
client_side_validation: true,
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'properties.encryption',
|
125
|
+
type: {
|
126
|
+
name: 'Composite',
|
127
|
+
class_name: 'Encryption'
|
128
|
+
}
|
129
|
+
},
|
130
|
+
access_tier: {
|
131
|
+
client_side_validation: true,
|
132
|
+
required: false,
|
133
|
+
serialized_name: 'properties.accessTier',
|
134
|
+
type: {
|
135
|
+
name: 'Enum',
|
136
|
+
module: 'AccessTier'
|
137
|
+
}
|
138
|
+
},
|
139
|
+
enable_azure_files_aad_integration: {
|
140
|
+
client_side_validation: true,
|
141
|
+
required: false,
|
142
|
+
serialized_name: 'properties.azureFilesAadIntegration',
|
143
|
+
type: {
|
144
|
+
name: 'Boolean'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
enable_https_traffic_only: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
serialized_name: 'properties.supportsHttpsTrafficOnly',
|
151
|
+
type: {
|
152
|
+
name: 'Boolean'
|
153
|
+
}
|
154
|
+
},
|
155
|
+
network_rule_set: {
|
156
|
+
client_side_validation: true,
|
157
|
+
required: false,
|
158
|
+
serialized_name: 'properties.networkAcls',
|
159
|
+
type: {
|
160
|
+
name: 'Composite',
|
161
|
+
class_name: 'NetworkRuleSet'
|
162
|
+
}
|
163
|
+
},
|
164
|
+
kind: {
|
165
|
+
client_side_validation: true,
|
166
|
+
required: false,
|
167
|
+
serialized_name: 'kind',
|
168
|
+
type: {
|
169
|
+
name: 'Enum',
|
170
|
+
module: 'Kind'
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
end
|
177
|
+
end
|
178
|
+
end
|
179
|
+
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_07_01
|
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_07_01
|
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_07_01
|
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
|