azure_mgmt_storage 0.17.6 → 0.17.7
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-02-01/generated/azure_mgmt_storage/storage_management_client.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/storage_management_client.rb +1 -1
- data/lib/2018-11-01/generated/azure_mgmt_storage/blob_containers.rb +1721 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/blob_services.rb +266 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/management_policies.rb +355 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/action.rb +15 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/blob_service_properties.rb +104 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/cors_rule.rb +128 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/cors_rules.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/date_after_creation.rb +50 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/date_after_modification.rb +50 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/delete_retention_policy.rb +64 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb +85 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/geo_replication_status.rb +17 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy.rb +89 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_action.rb +62 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb +73 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_definition.rb +60 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_filter.rb +76 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_rule.rb +87 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb +58 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb +47 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/sku.rb +159 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/sku_name.rb +20 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account.rb +375 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +63 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +203 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_expand.rb +15 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +179 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/operations.rb +108 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/skus.rb +114 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/storage_accounts.rb +1505 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/storage_management_client.rb +155 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/usages.rb +118 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage.rb +126 -0
- data/lib/azure_mgmt_storage.rb +1 -0
- data/lib/profiles/latest/modules/storage_profile_module.rb +250 -224
- data/lib/version.rb +1 -1
- metadata +104 -2
@@ -0,0 +1,106 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Network rule set
|
10
|
+
#
|
11
|
+
class NetworkRuleSet
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Bypass] Specifies whether traffic is bypassed for
|
16
|
+
# Logging/Metrics/AzureServices. Possible values are any combination of
|
17
|
+
# Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or
|
18
|
+
# None to bypass none of those traffics. Possible values include: 'None',
|
19
|
+
# 'Logging', 'Metrics', 'AzureServices'. Default value: 'AzureServices' .
|
20
|
+
attr_accessor :bypass
|
21
|
+
|
22
|
+
# @return [Array<VirtualNetworkRule>] Sets the virtual network rules
|
23
|
+
attr_accessor :virtual_network_rules
|
24
|
+
|
25
|
+
# @return [Array<IPRule>] Sets the IP ACL rules
|
26
|
+
attr_accessor :ip_rules
|
27
|
+
|
28
|
+
# @return [DefaultAction] Specifies the default action of allow or deny
|
29
|
+
# when no other rules match. Possible values include: 'Allow', 'Deny'.
|
30
|
+
# Default value: 'Allow' .
|
31
|
+
attr_accessor :default_action
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for NetworkRuleSet class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'NetworkRuleSet',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'NetworkRuleSet',
|
46
|
+
model_properties: {
|
47
|
+
bypass: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'bypass',
|
51
|
+
default_value: 'AzureServices',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
virtual_network_rules: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'virtualNetworkRules',
|
60
|
+
type: {
|
61
|
+
name: 'Sequence',
|
62
|
+
element: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'VirtualNetworkRuleElementType',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'VirtualNetworkRule'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
},
|
73
|
+
ip_rules: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'ipRules',
|
77
|
+
type: {
|
78
|
+
name: 'Sequence',
|
79
|
+
element: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'IPRuleElementType',
|
83
|
+
type: {
|
84
|
+
name: 'Composite',
|
85
|
+
class_name: 'IPRule'
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
},
|
90
|
+
default_action: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: true,
|
93
|
+
serialized_name: 'defaultAction',
|
94
|
+
default_value: 'Allow',
|
95
|
+
type: {
|
96
|
+
name: 'Enum',
|
97
|
+
module: 'DefaultAction'
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
@@ -0,0 +1,83 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Storage REST API operation definition.
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Operation name: {provider}/{resource}/{operation}
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [OperationDisplay] Display metadata associated with the
|
19
|
+
# operation.
|
20
|
+
attr_accessor :display
|
21
|
+
|
22
|
+
# @return [String] The origin of operations.
|
23
|
+
attr_accessor :origin
|
24
|
+
|
25
|
+
# @return [ServiceSpecification] One property of operation, include
|
26
|
+
# metric specifications.
|
27
|
+
attr_accessor :service_specification
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for Operation class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'Operation',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'Operation',
|
42
|
+
model_properties: {
|
43
|
+
name: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
display: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'display',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'OperationDisplay'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
origin: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'origin',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
service_specification: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'properties.serviceSpecification',
|
72
|
+
type: {
|
73
|
+
name: 'Composite',
|
74
|
+
class_name: 'ServiceSpecification'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Display metadata associated with the operation.
|
10
|
+
#
|
11
|
+
class OperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Service provider: Microsoft Storage.
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Resource on which the operation is performed etc.
|
19
|
+
attr_accessor :resource
|
20
|
+
|
21
|
+
# @return [String] Type of operation: get, read, delete, etc.
|
22
|
+
attr_accessor :operation
|
23
|
+
|
24
|
+
# @return [String] Description of the operation.
|
25
|
+
attr_accessor :description
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'Operation_display',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'OperationDisplay',
|
40
|
+
model_properties: {
|
41
|
+
provider: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'provider',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
resource: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'resource',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
operation: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'operation',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
description: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'description',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the request to list Storage operations. It contains a list of
|
10
|
+
# operations and a URL link to get the next set of results.
|
11
|
+
#
|
12
|
+
class OperationListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<Operation>] List of Storage operations supported by the
|
17
|
+
# Storage resource provider.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for OperationListResult class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'OperationListResult',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'OperationListResult',
|
33
|
+
model_properties: {
|
34
|
+
value: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'value',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'OperationElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'Operation'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,22 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for Permissions
|
10
|
+
#
|
11
|
+
module Permissions
|
12
|
+
R = "r"
|
13
|
+
D = "d"
|
14
|
+
W = "w"
|
15
|
+
L = "l"
|
16
|
+
A = "a"
|
17
|
+
C = "c"
|
18
|
+
U = "u"
|
19
|
+
P = "p"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ProvisioningState
|
10
|
+
#
|
11
|
+
module ProvisioningState
|
12
|
+
Creating = "Creating"
|
13
|
+
ResolvingDNS = "ResolvingDNS"
|
14
|
+
Succeeded = "Succeeded"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,63 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a ARM proxy resource. It will have
|
10
|
+
# everything other than required location and tags
|
11
|
+
#
|
12
|
+
class ProxyResource < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
#
|
18
|
+
# Mapper for ProxyResource class as Ruby Hash.
|
19
|
+
# This will be used for serialization/deserialization.
|
20
|
+
#
|
21
|
+
def self.mapper()
|
22
|
+
{
|
23
|
+
client_side_validation: true,
|
24
|
+
required: false,
|
25
|
+
serialized_name: 'ProxyResource',
|
26
|
+
type: {
|
27
|
+
name: 'Composite',
|
28
|
+
class_name: 'ProxyResource',
|
29
|
+
model_properties: {
|
30
|
+
id: {
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
read_only: true,
|
34
|
+
serialized_name: 'id',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
},
|
39
|
+
name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'name',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
type: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'type',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for PublicAccess
|
10
|
+
#
|
11
|
+
module PublicAccess
|
12
|
+
Container = "Container"
|
13
|
+
Blob = "Blob"
|
14
|
+
None = "None"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for Reason
|
10
|
+
#
|
11
|
+
module Reason
|
12
|
+
AccountNameInvalid = "AccountNameInvalid"
|
13
|
+
AlreadyExists = "AlreadyExists"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ReasonCode
|
10
|
+
#
|
11
|
+
module ReasonCode
|
12
|
+
QuotaId = "QuotaId"
|
13
|
+
NotAvailableForSubscription = "NotAvailableForSubscription"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,83 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Fully qualified resource Id for the resource. Ex -
|
17
|
+
# /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
18
|
+
attr_accessor :id
|
19
|
+
|
20
|
+
# @return [String] The name of the resource
|
21
|
+
attr_accessor :name
|
22
|
+
|
23
|
+
# @return [String] The type of the resource. Ex-
|
24
|
+
# Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
|
25
|
+
attr_accessor :type
|
26
|
+
|
27
|
+
|
28
|
+
# @return [String] the name of the resource group of the resource.
|
29
|
+
def resource_group
|
30
|
+
unless self.id.nil?
|
31
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
32
|
+
groups.captures[0].strip if groups
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for Resource class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'Resource',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'Resource',
|
49
|
+
model_properties: {
|
50
|
+
id: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'id',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
name: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'type',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,85 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The restriction because of which SKU cannot be used.
|
10
|
+
#
|
11
|
+
class Restriction
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The type of restrictions. As of now only possible
|
16
|
+
# value for this is location.
|
17
|
+
attr_accessor :type
|
18
|
+
|
19
|
+
# @return [Array<String>] The value of restrictions. If the restriction
|
20
|
+
# type is set to location. This would be different locations where the
|
21
|
+
# SKU is restricted.
|
22
|
+
attr_accessor :values
|
23
|
+
|
24
|
+
# @return [ReasonCode] The reason for the restriction. As of now this can
|
25
|
+
# be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the
|
26
|
+
# SKU has requiredQuotas parameter as the subscription does not belong to
|
27
|
+
# that quota. The "NotAvailableForSubscription" is related to capacity at
|
28
|
+
# DC. Possible values include: 'QuotaId', 'NotAvailableForSubscription'
|
29
|
+
attr_accessor :reason_code
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for Restriction class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'Restriction',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'Restriction',
|
44
|
+
model_properties: {
|
45
|
+
type: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'type',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
values: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'values',
|
59
|
+
type: {
|
60
|
+
name: 'Sequence',
|
61
|
+
element: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'StringElementType',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
},
|
71
|
+
reason_code: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'reasonCode',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|