azure_mgmt_storage 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_storage.rb +18 -13
- data/lib/generated/azure_mgmt_storage/models/access_tier.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/account_sas_parameters.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/account_status.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/check_name_availability_result.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/custom_domain.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/dimension.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/encryption.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/encryption_service.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/encryption_services.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/endpoints.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/http_protocol.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/key_permission.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/kind.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/list_account_sas_response.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/list_service_sas_response.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/metric_specification.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/{storage_network_acls.rb → network_rule_set.rb} +6 -6
- data/lib/generated/azure_mgmt_storage/models/provisioning_state.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/reason.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/generated/azure_mgmt_storage/models/restriction.rb +81 -0
- data/lib/generated/azure_mgmt_storage/models/service_sas_parameters.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/sku.rb +85 -0
- data/lib/generated/azure_mgmt_storage/models/sku_name.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/sku_tier.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/skucapability.rb +61 -0
- data/lib/generated/azure_mgmt_storage/models/storage_account.rb +4 -4
- data/lib/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +4 -4
- data/lib/generated/azure_mgmt_storage/models/storage_account_key.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/storage_account_list_result.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +4 -4
- data/lib/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +55 -0
- data/lib/generated/azure_mgmt_storage/models/usage.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/usage_list_result.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/usage_name.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/usage_unit.rb +0 -0
- data/lib/generated/azure_mgmt_storage/models/virtual_network_rule.rb +7 -6
- data/lib/generated/azure_mgmt_storage/module_definition.rb +0 -0
- data/lib/generated/azure_mgmt_storage/skus.rb +111 -0
- data/lib/generated/azure_mgmt_storage/storage_accounts.rb +0 -0
- data/lib/generated/azure_mgmt_storage/storage_management_client.rb +4 -0
- data/lib/generated/azure_mgmt_storage/usage_operations.rb +0 -0
- data/lib/generated/azure_mgmt_storage/version.rb +1 -1
- metadata +10 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f06785968cfaaa30d89d425fe28be95a28046d3a
|
|
4
|
+
data.tar.gz: 20829158327de48ecb7d5b8b868056ef328498e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 598f6c753c8fa8deca3ff550af2dcc4b99d126f0764b48459a7f17794fd04eb8b801e279974d4e5d5b5d72ecf4a16af366b9690801a20e8a2f84a55885b0e8df
|
|
7
|
+
data.tar.gz: 884972271c42c53f39001c1ddd1f1fd35ea07123fa7cdebdd86f2f9a8286a7cc30862b8762910fb126bd9d4de7dc108c54245efc2c02d753140cd90e139b0c6e
|
|
@@ -21,19 +21,23 @@ require 'ms_rest_azure'
|
|
|
21
21
|
|
|
22
22
|
module Azure::ARM::Storage
|
|
23
23
|
autoload :Operations, 'generated/azure_mgmt_storage/operations.rb'
|
|
24
|
+
autoload :SKUs, 'generated/azure_mgmt_storage/skus.rb'
|
|
24
25
|
autoload :StorageAccounts, 'generated/azure_mgmt_storage/storage_accounts.rb'
|
|
25
26
|
autoload :UsageOperations, 'generated/azure_mgmt_storage/usage_operations.rb'
|
|
26
27
|
autoload :StorageManagementClient, 'generated/azure_mgmt_storage/storage_management_client.rb'
|
|
27
28
|
|
|
28
29
|
module Models
|
|
30
|
+
autoload :IPRule, 'generated/azure_mgmt_storage/models/iprule.rb'
|
|
31
|
+
autoload :NetworkRuleSet, 'generated/azure_mgmt_storage/models/network_rule_set.rb'
|
|
32
|
+
autoload :Dimension, 'generated/azure_mgmt_storage/models/dimension.rb'
|
|
29
33
|
autoload :Identity, 'generated/azure_mgmt_storage/models/identity.rb'
|
|
30
|
-
autoload :
|
|
34
|
+
autoload :ServiceSpecification, 'generated/azure_mgmt_storage/models/service_specification.rb'
|
|
31
35
|
autoload :StorageAccountCreateParameters, 'generated/azure_mgmt_storage/models/storage_account_create_parameters.rb'
|
|
32
|
-
autoload :MetricSpecification, 'generated/azure_mgmt_storage/models/metric_specification.rb'
|
|
33
|
-
autoload :Endpoints, 'generated/azure_mgmt_storage/models/endpoints.rb'
|
|
34
|
-
autoload :Operation, 'generated/azure_mgmt_storage/models/operation.rb'
|
|
35
36
|
autoload :OperationListResult, 'generated/azure_mgmt_storage/models/operation_list_result.rb'
|
|
36
|
-
autoload :
|
|
37
|
+
autoload :Endpoints, 'generated/azure_mgmt_storage/models/endpoints.rb'
|
|
38
|
+
autoload :SKUCapability, 'generated/azure_mgmt_storage/models/skucapability.rb'
|
|
39
|
+
autoload :Restriction, 'generated/azure_mgmt_storage/models/restriction.rb'
|
|
40
|
+
autoload :StorageSkuListResult, 'generated/azure_mgmt_storage/models/storage_sku_list_result.rb'
|
|
37
41
|
autoload :StorageAccountKey, 'generated/azure_mgmt_storage/models/storage_account_key.rb'
|
|
38
42
|
autoload :CustomDomain, 'generated/azure_mgmt_storage/models/custom_domain.rb'
|
|
39
43
|
autoload :StorageAccountListResult, 'generated/azure_mgmt_storage/models/storage_account_list_result.rb'
|
|
@@ -41,34 +45,35 @@ module Azure::ARM::Storage
|
|
|
41
45
|
autoload :StorageAccountListKeysResult, 'generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb'
|
|
42
46
|
autoload :Encryption, 'generated/azure_mgmt_storage/models/encryption.rb'
|
|
43
47
|
autoload :StorageAccountRegenerateKeyParameters, 'generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb'
|
|
44
|
-
autoload :
|
|
48
|
+
autoload :OperationDisplay, 'generated/azure_mgmt_storage/models/operation_display.rb'
|
|
45
49
|
autoload :StorageAccountUpdateParameters, 'generated/azure_mgmt_storage/models/storage_account_update_parameters.rb'
|
|
46
|
-
autoload :
|
|
50
|
+
autoload :Operation, 'generated/azure_mgmt_storage/models/operation.rb'
|
|
47
51
|
autoload :UsageName, 'generated/azure_mgmt_storage/models/usage_name.rb'
|
|
48
|
-
autoload :
|
|
52
|
+
autoload :Sku, 'generated/azure_mgmt_storage/models/sku.rb'
|
|
49
53
|
autoload :Usage, 'generated/azure_mgmt_storage/models/usage.rb'
|
|
50
54
|
autoload :EncryptionService, 'generated/azure_mgmt_storage/models/encryption_service.rb'
|
|
51
55
|
autoload :UsageListResult, 'generated/azure_mgmt_storage/models/usage_list_result.rb'
|
|
52
56
|
autoload :VirtualNetworkRule, 'generated/azure_mgmt_storage/models/virtual_network_rule.rb'
|
|
53
|
-
autoload :
|
|
57
|
+
autoload :StorageAccountCheckNameAvailabilityParameters, 'generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb'
|
|
54
58
|
autoload :AccountSasParameters, 'generated/azure_mgmt_storage/models/account_sas_parameters.rb'
|
|
55
59
|
autoload :KeyVaultProperties, 'generated/azure_mgmt_storage/models/key_vault_properties.rb'
|
|
56
60
|
autoload :ListAccountSasResponse, 'generated/azure_mgmt_storage/models/list_account_sas_response.rb'
|
|
57
|
-
autoload :
|
|
61
|
+
autoload :CheckNameAvailabilityResult, 'generated/azure_mgmt_storage/models/check_name_availability_result.rb'
|
|
58
62
|
autoload :ServiceSasParameters, 'generated/azure_mgmt_storage/models/service_sas_parameters.rb'
|
|
59
|
-
autoload :
|
|
63
|
+
autoload :MetricSpecification, 'generated/azure_mgmt_storage/models/metric_specification.rb'
|
|
60
64
|
autoload :ListServiceSasResponse, 'generated/azure_mgmt_storage/models/list_service_sas_response.rb'
|
|
61
65
|
autoload :StorageAccount, 'generated/azure_mgmt_storage/models/storage_account.rb'
|
|
62
|
-
autoload :
|
|
66
|
+
autoload :ReasonCode, 'generated/azure_mgmt_storage/models/reason_code.rb'
|
|
63
67
|
autoload :SkuName, 'generated/azure_mgmt_storage/models/sku_name.rb'
|
|
64
68
|
autoload :SkuTier, 'generated/azure_mgmt_storage/models/sku_tier.rb'
|
|
69
|
+
autoload :Kind, 'generated/azure_mgmt_storage/models/kind.rb'
|
|
70
|
+
autoload :Reason, 'generated/azure_mgmt_storage/models/reason.rb'
|
|
65
71
|
autoload :KeySource, 'generated/azure_mgmt_storage/models/key_source.rb'
|
|
66
72
|
autoload :Action, 'generated/azure_mgmt_storage/models/action.rb'
|
|
67
73
|
autoload :State, 'generated/azure_mgmt_storage/models/state.rb'
|
|
68
74
|
autoload :Bypass, 'generated/azure_mgmt_storage/models/bypass.rb'
|
|
69
75
|
autoload :DefaultAction, 'generated/azure_mgmt_storage/models/default_action.rb'
|
|
70
76
|
autoload :AccessTier, 'generated/azure_mgmt_storage/models/access_tier.rb'
|
|
71
|
-
autoload :Kind, 'generated/azure_mgmt_storage/models/kind.rb'
|
|
72
77
|
autoload :ProvisioningState, 'generated/azure_mgmt_storage/models/provisioning_state.rb'
|
|
73
78
|
autoload :AccountStatus, 'generated/azure_mgmt_storage/models/account_status.rb'
|
|
74
79
|
autoload :KeyPermission, 'generated/azure_mgmt_storage/models/key_permission.rb'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -25,7 +25,8 @@ module Azure::ARM::Storage
|
|
|
25
25
|
# @return [String] Unit could be Bytes or Count.
|
|
26
26
|
attr_accessor :unit
|
|
27
27
|
|
|
28
|
-
# @return [Array<Dimension>] Dimensions
|
|
28
|
+
# @return [Array<Dimension>] Dimensions of blobs, including blob type and
|
|
29
|
+
# access tier.
|
|
29
30
|
attr_accessor :dimensions
|
|
30
31
|
|
|
31
32
|
# @return [String] Aggregation type could be Average.
|
data/lib/generated/azure_mgmt_storage/models/{storage_network_acls.rb → network_rule_set.rb}
RENAMED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
module Azure::ARM::Storage
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
# Network
|
|
9
|
+
# Network rule set
|
|
10
10
|
#
|
|
11
|
-
class
|
|
11
|
+
class NetworkRuleSet
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
@@ -20,7 +20,7 @@ module Azure::ARM::Storage
|
|
|
20
20
|
# 'Logging', 'Metrics', 'AzureServices'. Default value: 'AzureServices' .
|
|
21
21
|
attr_accessor :bypass
|
|
22
22
|
|
|
23
|
-
# @return [Array<VirtualNetworkRule>] Sets the virtual network
|
|
23
|
+
# @return [Array<VirtualNetworkRule>] Sets the virtual network rules
|
|
24
24
|
attr_accessor :virtual_network_rules
|
|
25
25
|
|
|
26
26
|
# @return [Array<IPRule>] Sets the IP ACL rules
|
|
@@ -33,16 +33,16 @@ module Azure::ARM::Storage
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
#
|
|
36
|
-
# Mapper for
|
|
36
|
+
# Mapper for NetworkRuleSet class as Ruby Hash.
|
|
37
37
|
# This will be used for serialization/deserialization.
|
|
38
38
|
#
|
|
39
39
|
def self.mapper()
|
|
40
40
|
{
|
|
41
41
|
required: false,
|
|
42
|
-
serialized_name: '
|
|
42
|
+
serialized_name: 'NetworkRuleSet',
|
|
43
43
|
type: {
|
|
44
44
|
name: 'Composite',
|
|
45
|
-
class_name: '
|
|
45
|
+
class_name: 'NetworkRuleSet',
|
|
46
46
|
model_properties: {
|
|
47
47
|
bypass: {
|
|
48
48
|
required: false,
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::ARM::Storage
|
|
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,81 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::ARM::Storage
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The restriction because of which SKU cannot be used.
|
|
10
|
+
#
|
|
11
|
+
class Restriction
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
# @return [String] The type of restrictions. As of now only possible
|
|
17
|
+
# value for this is location.
|
|
18
|
+
attr_accessor :type
|
|
19
|
+
|
|
20
|
+
# @return [Array<String>] The value of restrictions. If the restriction
|
|
21
|
+
# type is set to location. This would be different locations where the
|
|
22
|
+
# SKU is restricted.
|
|
23
|
+
attr_accessor :values
|
|
24
|
+
|
|
25
|
+
# @return [ReasonCode] The reason for the restriction. As of now this can
|
|
26
|
+
# be “QuotaId” or “NotAvailableForSubscription”. Quota Id is set when the
|
|
27
|
+
# SKU has requiredQuotas parameter as the subscription does not belong to
|
|
28
|
+
# that quota. The “NotAvailableForSubscription” is related to capacity at
|
|
29
|
+
# DC. Possible values include: 'QuotaId', 'NotAvailableForSubscription'
|
|
30
|
+
attr_accessor :reason_code
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
#
|
|
34
|
+
# Mapper for Restriction class as Ruby Hash.
|
|
35
|
+
# This will be used for serialization/deserialization.
|
|
36
|
+
#
|
|
37
|
+
def self.mapper()
|
|
38
|
+
{
|
|
39
|
+
required: false,
|
|
40
|
+
serialized_name: 'Restriction',
|
|
41
|
+
type: {
|
|
42
|
+
name: 'Composite',
|
|
43
|
+
class_name: 'Restriction',
|
|
44
|
+
model_properties: {
|
|
45
|
+
type: {
|
|
46
|
+
required: false,
|
|
47
|
+
read_only: true,
|
|
48
|
+
serialized_name: 'type',
|
|
49
|
+
type: {
|
|
50
|
+
name: 'String'
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
values: {
|
|
54
|
+
required: false,
|
|
55
|
+
read_only: true,
|
|
56
|
+
serialized_name: 'values',
|
|
57
|
+
type: {
|
|
58
|
+
name: 'Sequence',
|
|
59
|
+
element: {
|
|
60
|
+
required: false,
|
|
61
|
+
serialized_name: 'StringElementType',
|
|
62
|
+
type: {
|
|
63
|
+
name: 'String'
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
reason_code: {
|
|
69
|
+
required: false,
|
|
70
|
+
serialized_name: 'reasonCode',
|
|
71
|
+
type: {
|
|
72
|
+
name: 'String'
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
File without changes
|
|
@@ -23,6 +23,28 @@ module Azure::ARM::Storage
|
|
|
23
23
|
# Possible values include: 'Standard', 'Premium'
|
|
24
24
|
attr_accessor :tier
|
|
25
25
|
|
|
26
|
+
# @return [String] The type of the resource, usually it is
|
|
27
|
+
# 'storageAccounts'.
|
|
28
|
+
attr_accessor :resource_type
|
|
29
|
+
|
|
30
|
+
# @return [Kind] Indicates the type of storage account. Possible values
|
|
31
|
+
# include: 'Storage', 'BlobStorage'
|
|
32
|
+
attr_accessor :kind
|
|
33
|
+
|
|
34
|
+
# @return [Array<String>] The set of locations that the SKU is available.
|
|
35
|
+
# This will be supported and registered Azure Geo Regions (e.g. West US,
|
|
36
|
+
# East US, Southeast Asia, etc.).
|
|
37
|
+
attr_accessor :locations
|
|
38
|
+
|
|
39
|
+
# @return [Array<SKUCapability>] The capability information in the
|
|
40
|
+
# specified sku, including file encryption, network acls, change
|
|
41
|
+
# notification, etc.
|
|
42
|
+
attr_accessor :capabilities
|
|
43
|
+
|
|
44
|
+
# @return [Array<Restriction>] The restrictions because of which SKU
|
|
45
|
+
# cannot be used. This is empty if there are no restrictions.
|
|
46
|
+
attr_accessor :restrictions
|
|
47
|
+
|
|
26
48
|
|
|
27
49
|
#
|
|
28
50
|
# Mapper for Sku class as Ruby Hash.
|
|
@@ -52,6 +74,69 @@ module Azure::ARM::Storage
|
|
|
52
74
|
name: 'Enum',
|
|
53
75
|
module: 'SkuTier'
|
|
54
76
|
}
|
|
77
|
+
},
|
|
78
|
+
resource_type: {
|
|
79
|
+
required: false,
|
|
80
|
+
read_only: true,
|
|
81
|
+
serialized_name: 'resourceType',
|
|
82
|
+
type: {
|
|
83
|
+
name: 'String'
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
kind: {
|
|
87
|
+
required: false,
|
|
88
|
+
read_only: true,
|
|
89
|
+
serialized_name: 'kind',
|
|
90
|
+
type: {
|
|
91
|
+
name: 'Enum',
|
|
92
|
+
module: 'Kind'
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
locations: {
|
|
96
|
+
required: false,
|
|
97
|
+
read_only: true,
|
|
98
|
+
serialized_name: 'locations',
|
|
99
|
+
type: {
|
|
100
|
+
name: 'Sequence',
|
|
101
|
+
element: {
|
|
102
|
+
required: false,
|
|
103
|
+
serialized_name: 'StringElementType',
|
|
104
|
+
type: {
|
|
105
|
+
name: 'String'
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
capabilities: {
|
|
111
|
+
required: false,
|
|
112
|
+
read_only: true,
|
|
113
|
+
serialized_name: 'capabilities',
|
|
114
|
+
type: {
|
|
115
|
+
name: 'Sequence',
|
|
116
|
+
element: {
|
|
117
|
+
required: false,
|
|
118
|
+
serialized_name: 'SKUCapabilityElementType',
|
|
119
|
+
type: {
|
|
120
|
+
name: 'Composite',
|
|
121
|
+
class_name: 'SKUCapability'
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
restrictions: {
|
|
127
|
+
required: false,
|
|
128
|
+
serialized_name: 'restrictions',
|
|
129
|
+
type: {
|
|
130
|
+
name: 'Sequence',
|
|
131
|
+
element: {
|
|
132
|
+
required: false,
|
|
133
|
+
serialized_name: 'RestrictionElementType',
|
|
134
|
+
type: {
|
|
135
|
+
name: 'Composite',
|
|
136
|
+
class_name: 'Restriction'
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
55
140
|
}
|
|
56
141
|
}
|
|
57
142
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::ARM::Storage
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The capability information in the specified sku, including file
|
|
10
|
+
# encryption, network acls, change notification, etc.
|
|
11
|
+
#
|
|
12
|
+
class SKUCapability
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
include MsRest::JSONable
|
|
17
|
+
# @return [String] The name of capability, The capability information in
|
|
18
|
+
# the specified sku, including file encryption, network acls, change
|
|
19
|
+
# notification, etc.
|
|
20
|
+
attr_accessor :name
|
|
21
|
+
|
|
22
|
+
# @return [String] A string value to indicate states of given capability.
|
|
23
|
+
# Possibly 'true' or 'false'.
|
|
24
|
+
attr_accessor :value
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
# Mapper for SKUCapability class as Ruby Hash.
|
|
29
|
+
# This will be used for serialization/deserialization.
|
|
30
|
+
#
|
|
31
|
+
def self.mapper()
|
|
32
|
+
{
|
|
33
|
+
required: false,
|
|
34
|
+
serialized_name: 'SKUCapability',
|
|
35
|
+
type: {
|
|
36
|
+
name: 'Composite',
|
|
37
|
+
class_name: 'SKUCapability',
|
|
38
|
+
model_properties: {
|
|
39
|
+
name: {
|
|
40
|
+
required: false,
|
|
41
|
+
read_only: true,
|
|
42
|
+
serialized_name: 'name',
|
|
43
|
+
type: {
|
|
44
|
+
name: 'String'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
value: {
|
|
48
|
+
required: false,
|
|
49
|
+
read_only: true,
|
|
50
|
+
serialized_name: 'value',
|
|
51
|
+
type: {
|
|
52
|
+
name: 'String'
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -86,8 +86,8 @@ module Azure::ARM::Storage
|
|
|
86
86
|
# to true. Default value: false .
|
|
87
87
|
attr_accessor :enable_https_traffic_only
|
|
88
88
|
|
|
89
|
-
# @return [
|
|
90
|
-
attr_accessor :
|
|
89
|
+
# @return [NetworkRuleSet] Network rule set
|
|
90
|
+
attr_accessor :network_rule_set
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
#
|
|
@@ -285,13 +285,13 @@ module Azure::ARM::Storage
|
|
|
285
285
|
name: 'Boolean'
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
|
-
|
|
288
|
+
network_rule_set: {
|
|
289
289
|
required: false,
|
|
290
290
|
read_only: true,
|
|
291
291
|
serialized_name: 'properties.networkAcls',
|
|
292
292
|
type: {
|
|
293
293
|
name: 'Composite',
|
|
294
|
-
class_name: '
|
|
294
|
+
class_name: 'NetworkRuleSet'
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
}
|
data/lib/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb
CHANGED
|
File without changes
|
|
@@ -49,8 +49,8 @@ module Azure::ARM::Storage
|
|
|
49
49
|
# same. The default setting is unencrypted.
|
|
50
50
|
attr_accessor :encryption
|
|
51
51
|
|
|
52
|
-
# @return [
|
|
53
|
-
attr_accessor :
|
|
52
|
+
# @return [NetworkRuleSet] Network rule set
|
|
53
|
+
attr_accessor :network_rule_set
|
|
54
54
|
|
|
55
55
|
# @return [AccessTier] Required for storage accounts where kind =
|
|
56
56
|
# BlobStorage. The access tier used for billing. Possible values include:
|
|
@@ -135,12 +135,12 @@ module Azure::ARM::Storage
|
|
|
135
135
|
class_name: 'Encryption'
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
|
-
|
|
138
|
+
network_rule_set: {
|
|
139
139
|
required: false,
|
|
140
140
|
serialized_name: 'properties.networkAcls',
|
|
141
141
|
type: {
|
|
142
142
|
name: 'Composite',
|
|
143
|
-
class_name: '
|
|
143
|
+
class_name: 'NetworkRuleSet'
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
access_tier: {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -49,8 +49,8 @@ module Azure::ARM::Storage
|
|
|
49
49
|
# to true. Default value: false .
|
|
50
50
|
attr_accessor :enable_https_traffic_only
|
|
51
51
|
|
|
52
|
-
# @return [
|
|
53
|
-
attr_accessor :
|
|
52
|
+
# @return [NetworkRuleSet] Network rule set
|
|
53
|
+
attr_accessor :network_rule_set
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
#
|
|
@@ -127,12 +127,12 @@ module Azure::ARM::Storage
|
|
|
127
127
|
name: 'Boolean'
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
|
-
|
|
130
|
+
network_rule_set: {
|
|
131
131
|
required: false,
|
|
132
132
|
serialized_name: 'properties.networkAcls',
|
|
133
133
|
type: {
|
|
134
134
|
name: 'Composite',
|
|
135
|
-
class_name: '
|
|
135
|
+
class_name: 'NetworkRuleSet'
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::ARM::Storage
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The response from the List Storage SKUs operation.
|
|
10
|
+
#
|
|
11
|
+
class StorageSkuListResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
# @return [Array<Sku>] Get the list result of storage SKUs and their
|
|
17
|
+
# properties.
|
|
18
|
+
attr_accessor :value
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
#
|
|
22
|
+
# Mapper for StorageSkuListResult class as Ruby Hash.
|
|
23
|
+
# This will be used for serialization/deserialization.
|
|
24
|
+
#
|
|
25
|
+
def self.mapper()
|
|
26
|
+
{
|
|
27
|
+
required: false,
|
|
28
|
+
serialized_name: 'StorageSkuListResult',
|
|
29
|
+
type: {
|
|
30
|
+
name: 'Composite',
|
|
31
|
+
class_name: 'StorageSkuListResult',
|
|
32
|
+
model_properties: {
|
|
33
|
+
value: {
|
|
34
|
+
required: false,
|
|
35
|
+
read_only: true,
|
|
36
|
+
serialized_name: 'value',
|
|
37
|
+
type: {
|
|
38
|
+
name: 'Sequence',
|
|
39
|
+
element: {
|
|
40
|
+
required: false,
|
|
41
|
+
serialized_name: 'SkuElementType',
|
|
42
|
+
type: {
|
|
43
|
+
name: 'Composite',
|
|
44
|
+
class_name: 'Sku'
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -13,16 +13,17 @@ module Azure::ARM::Storage
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
15
|
include MsRest::JSONable
|
|
16
|
-
# @return [String]
|
|
16
|
+
# @return [String] Resource ID of a subnet, for example:
|
|
17
|
+
# /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
|
|
17
18
|
attr_accessor :virtual_network_resource_id
|
|
18
19
|
|
|
19
|
-
# @return [Action] The action of virtual network
|
|
20
|
-
#
|
|
20
|
+
# @return [Action] The action of virtual network rule. Possible values
|
|
21
|
+
# include: 'Allow'. Default value: 'Allow' .
|
|
21
22
|
attr_accessor :action
|
|
22
23
|
|
|
23
|
-
# @return [State] Gets the state of virtual network
|
|
24
|
-
#
|
|
25
|
-
# '
|
|
24
|
+
# @return [State] Gets the state of virtual network rule. Possible values
|
|
25
|
+
# include: 'provisioning', 'deprovisioning', 'succeeded', 'failed',
|
|
26
|
+
# 'networkSourceDeleted'
|
|
26
27
|
attr_accessor :state
|
|
27
28
|
|
|
28
29
|
|
|
File without changes
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::ARM::Storage
|
|
7
|
+
#
|
|
8
|
+
# The Azure Storage Management API.
|
|
9
|
+
#
|
|
10
|
+
class SKUs
|
|
11
|
+
include MsRestAzure
|
|
12
|
+
|
|
13
|
+
#
|
|
14
|
+
# Creates and initializes a new instance of the SKUs class.
|
|
15
|
+
# @param client service class for accessing basic functionality.
|
|
16
|
+
#
|
|
17
|
+
def initialize(client)
|
|
18
|
+
@client = client
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# @return [StorageManagementClient] reference to the StorageManagementClient
|
|
22
|
+
attr_reader :client
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
# Lists the available SKUs supported by Microsoft.Storage for given
|
|
26
|
+
# subscription.
|
|
27
|
+
#
|
|
28
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
29
|
+
# will be added to the HTTP request.
|
|
30
|
+
#
|
|
31
|
+
# @return [StorageSkuListResult] operation results.
|
|
32
|
+
#
|
|
33
|
+
def list(custom_headers = nil)
|
|
34
|
+
response = list_async(custom_headers).value!
|
|
35
|
+
response.body unless response.nil?
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
#
|
|
39
|
+
# Lists the available SKUs supported by Microsoft.Storage for given
|
|
40
|
+
# subscription.
|
|
41
|
+
#
|
|
42
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
43
|
+
# will be added to the HTTP request.
|
|
44
|
+
#
|
|
45
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
46
|
+
#
|
|
47
|
+
def list_with_http_info(custom_headers = nil)
|
|
48
|
+
list_async(custom_headers).value!
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
#
|
|
52
|
+
# Lists the available SKUs supported by Microsoft.Storage for given
|
|
53
|
+
# subscription.
|
|
54
|
+
#
|
|
55
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
56
|
+
# to the HTTP request.
|
|
57
|
+
#
|
|
58
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
59
|
+
#
|
|
60
|
+
def list_async(custom_headers = nil)
|
|
61
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
|
62
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
request_headers = {}
|
|
66
|
+
|
|
67
|
+
# Set Headers
|
|
68
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
69
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
70
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus'
|
|
71
|
+
|
|
72
|
+
request_url = @base_url || @client.base_url
|
|
73
|
+
|
|
74
|
+
options = {
|
|
75
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
76
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
|
77
|
+
query_params: {'api-version' => @client.api_version},
|
|
78
|
+
headers: request_headers.merge(custom_headers || {}),
|
|
79
|
+
base_url: request_url
|
|
80
|
+
}
|
|
81
|
+
promise = @client.make_request_async(:get, path_template, options)
|
|
82
|
+
|
|
83
|
+
promise = promise.then do |result|
|
|
84
|
+
http_response = result.response
|
|
85
|
+
status_code = http_response.status
|
|
86
|
+
response_content = http_response.body
|
|
87
|
+
unless status_code == 200
|
|
88
|
+
error_model = JSON.load(response_content)
|
|
89
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
|
93
|
+
# Deserialize Response
|
|
94
|
+
if status_code == 200
|
|
95
|
+
begin
|
|
96
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
97
|
+
result_mapper = Azure::ARM::Storage::Models::StorageSkuListResult.mapper()
|
|
98
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
99
|
+
rescue Exception => e
|
|
100
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
result
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
promise.execute
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
end
|
|
111
|
+
end
|
|
File without changes
|
|
@@ -39,6 +39,9 @@ module Azure::ARM::Storage
|
|
|
39
39
|
# @return [Operations] operations
|
|
40
40
|
attr_reader :operations
|
|
41
41
|
|
|
42
|
+
# @return [SKUs] skus
|
|
43
|
+
attr_reader :skus
|
|
44
|
+
|
|
42
45
|
# @return [StorageAccounts] storage_accounts
|
|
43
46
|
attr_reader :storage_accounts
|
|
44
47
|
|
|
@@ -59,6 +62,7 @@ module Azure::ARM::Storage
|
|
|
59
62
|
@credentials = credentials
|
|
60
63
|
|
|
61
64
|
@operations = Operations.new(self)
|
|
65
|
+
@skus = SKUs.new(self)
|
|
62
66
|
@storage_accounts = StorageAccounts.new(self)
|
|
63
67
|
@usage_operations = UsageOperations.new(self)
|
|
64
68
|
@api_version = '2017-06-01'
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: azure_mgmt_storage
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Microsoft Corporation
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-09-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.
|
|
75
|
+
version: 0.9.0
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 0.
|
|
82
|
+
version: 0.9.0
|
|
83
83
|
description: Microsoft Azure Storage Management Client Library for Ruby
|
|
84
84
|
email: azrubyteam@microsoft.com
|
|
85
85
|
executables: []
|
|
@@ -113,12 +113,15 @@ files:
|
|
|
113
113
|
- lib/generated/azure_mgmt_storage/models/list_account_sas_response.rb
|
|
114
114
|
- lib/generated/azure_mgmt_storage/models/list_service_sas_response.rb
|
|
115
115
|
- lib/generated/azure_mgmt_storage/models/metric_specification.rb
|
|
116
|
+
- lib/generated/azure_mgmt_storage/models/network_rule_set.rb
|
|
116
117
|
- lib/generated/azure_mgmt_storage/models/operation.rb
|
|
117
118
|
- lib/generated/azure_mgmt_storage/models/operation_display.rb
|
|
118
119
|
- lib/generated/azure_mgmt_storage/models/operation_list_result.rb
|
|
119
120
|
- lib/generated/azure_mgmt_storage/models/permissions.rb
|
|
120
121
|
- lib/generated/azure_mgmt_storage/models/provisioning_state.rb
|
|
121
122
|
- lib/generated/azure_mgmt_storage/models/reason.rb
|
|
123
|
+
- lib/generated/azure_mgmt_storage/models/reason_code.rb
|
|
124
|
+
- lib/generated/azure_mgmt_storage/models/restriction.rb
|
|
122
125
|
- lib/generated/azure_mgmt_storage/models/service_sas_parameters.rb
|
|
123
126
|
- lib/generated/azure_mgmt_storage/models/service_specification.rb
|
|
124
127
|
- lib/generated/azure_mgmt_storage/models/services.rb
|
|
@@ -127,6 +130,7 @@ files:
|
|
|
127
130
|
- lib/generated/azure_mgmt_storage/models/sku.rb
|
|
128
131
|
- lib/generated/azure_mgmt_storage/models/sku_name.rb
|
|
129
132
|
- lib/generated/azure_mgmt_storage/models/sku_tier.rb
|
|
133
|
+
- lib/generated/azure_mgmt_storage/models/skucapability.rb
|
|
130
134
|
- lib/generated/azure_mgmt_storage/models/state.rb
|
|
131
135
|
- lib/generated/azure_mgmt_storage/models/storage_account.rb
|
|
132
136
|
- lib/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb
|
|
@@ -136,7 +140,7 @@ files:
|
|
|
136
140
|
- lib/generated/azure_mgmt_storage/models/storage_account_list_result.rb
|
|
137
141
|
- lib/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb
|
|
138
142
|
- lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb
|
|
139
|
-
- lib/generated/azure_mgmt_storage/models/
|
|
143
|
+
- lib/generated/azure_mgmt_storage/models/storage_sku_list_result.rb
|
|
140
144
|
- lib/generated/azure_mgmt_storage/models/usage.rb
|
|
141
145
|
- lib/generated/azure_mgmt_storage/models/usage_list_result.rb
|
|
142
146
|
- lib/generated/azure_mgmt_storage/models/usage_name.rb
|
|
@@ -144,6 +148,7 @@ files:
|
|
|
144
148
|
- lib/generated/azure_mgmt_storage/models/virtual_network_rule.rb
|
|
145
149
|
- lib/generated/azure_mgmt_storage/module_definition.rb
|
|
146
150
|
- lib/generated/azure_mgmt_storage/operations.rb
|
|
151
|
+
- lib/generated/azure_mgmt_storage/skus.rb
|
|
147
152
|
- lib/generated/azure_mgmt_storage/storage_accounts.rb
|
|
148
153
|
- lib/generated/azure_mgmt_storage/storage_management_client.rb
|
|
149
154
|
- lib/generated/azure_mgmt_storage/usage_operations.rb
|