azure_mgmt_storage 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_storage.rb +32 -11
- data/lib/generated/azure_mgmt_storage/models/access_tier.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/account_sas_parameters.rb +12 -11
- data/lib/generated/azure_mgmt_storage/models/account_status.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/action.rb +15 -0
- data/lib/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/generated/azure_mgmt_storage/models/check_name_availability_result.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/custom_domain.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/generated/azure_mgmt_storage/models/dimension.rb +55 -0
- data/lib/generated/azure_mgmt_storage/models/encryption.rb +17 -5
- data/lib/generated/azure_mgmt_storage/models/encryption_service.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/encryption_services.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/endpoints.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/http_protocol.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/identity.rb +69 -0
- data/lib/generated/azure_mgmt_storage/models/iprule.rb +59 -0
- data/lib/generated/azure_mgmt_storage/models/key_permission.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/generated/azure_mgmt_storage/models/key_vault_properties.rb +65 -0
- data/lib/generated/azure_mgmt_storage/models/kind.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/list_account_sas_response.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/list_service_sas_response.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/metric_specification.rb +134 -0
- data/lib/generated/azure_mgmt_storage/models/operation.rb +79 -0
- data/lib/generated/azure_mgmt_storage/models/operation_display.rb +65 -0
- data/lib/generated/azure_mgmt_storage/models/operation_list_result.rb +55 -0
- data/lib/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/generated/azure_mgmt_storage/models/provisioning_state.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/reason.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/service_sas_parameters.rb +9 -8
- data/lib/generated/azure_mgmt_storage/models/service_specification.rb +54 -0
- data/lib/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/generated/azure_mgmt_storage/models/sku.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/sku_name.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/sku_tier.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/generated/azure_mgmt_storage/models/storage_account.rb +37 -1
- data/lib/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +6 -3
- data/lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +36 -1
- data/lib/generated/azure_mgmt_storage/models/storage_account_key.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/storage_account_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +4 -2
- data/lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +36 -1
- data/lib/generated/azure_mgmt_storage/models/storage_network_acls.rb +100 -0
- data/lib/generated/azure_mgmt_storage/models/usage.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/usage_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/usage_name.rb +2 -1
- data/lib/generated/azure_mgmt_storage/models/usage_unit.rb +1 -1
- data/lib/generated/azure_mgmt_storage/models/virtual_network_rule.rb +71 -0
- data/lib/generated/azure_mgmt_storage/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_storage/operations.rb +106 -0
- data/lib/generated/azure_mgmt_storage/storage_accounts.rb +46 -47
- data/lib/generated/azure_mgmt_storage/storage_management_client.rb +6 -2
- data/lib/generated/azure_mgmt_storage/usage_operations.rb +4 -5
- data/lib/generated/azure_mgmt_storage/version.rb +2 -2
- metadata +25 -4
@@ -0,0 +1,59 @@
|
|
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
|
+
# IP rule with specific IP or IP range in CIDR format.
|
10
|
+
#
|
11
|
+
class IPRule
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Specifies the IP or IP range in CIDR format. Only IPV4
|
17
|
+
# address is allowed.
|
18
|
+
attr_accessor :ipaddress_or_range
|
19
|
+
|
20
|
+
# @return [Action] The action of IP ACL rule. Possible values include:
|
21
|
+
# 'Allow'. Default value: 'Allow' .
|
22
|
+
attr_accessor :action
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for IPRule class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'IPRule',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'IPRule',
|
36
|
+
model_properties: {
|
37
|
+
ipaddress_or_range: {
|
38
|
+
required: true,
|
39
|
+
serialized_name: 'value',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
action: {
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'action',
|
47
|
+
default_value: 'Allow',
|
48
|
+
type: {
|
49
|
+
name: 'Enum',
|
50
|
+
module: 'Action'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -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 KeySource
|
10
|
+
#
|
11
|
+
module KeySource
|
12
|
+
MicrosoftStorage = "Microsoft.Storage"
|
13
|
+
MicrosoftKeyvault = "Microsoft.Keyvault"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,65 @@
|
|
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
|
+
# Properties of key vault.
|
10
|
+
#
|
11
|
+
class KeyVaultProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The name of KeyVault key.
|
17
|
+
attr_accessor :key_name
|
18
|
+
|
19
|
+
# @return [String] The version of KeyVault key.
|
20
|
+
attr_accessor :key_version
|
21
|
+
|
22
|
+
# @return [String] The Uri of KeyVault.
|
23
|
+
attr_accessor :key_vault_uri
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for KeyVaultProperties class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'KeyVaultProperties',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'KeyVaultProperties',
|
37
|
+
model_properties: {
|
38
|
+
key_name: {
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'keyname',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
key_version: {
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'keyversion',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
key_vault_uri: {
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'keyvaulturi',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::Storage
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] List SAS credentials of storage account.
|
16
17
|
attr_accessor :account_sas_token
|
17
18
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::Storage
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] List service SAS credentials of speicific resource.
|
16
17
|
attr_accessor :service_sas_token
|
17
18
|
|
@@ -0,0 +1,134 @@
|
|
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
|
+
# Metric specification of operation.
|
10
|
+
#
|
11
|
+
class MetricSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Name of metric specification.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] Display name of metric specification.
|
20
|
+
attr_accessor :display_name
|
21
|
+
|
22
|
+
# @return [String] Display description of metric specification.
|
23
|
+
attr_accessor :display_description
|
24
|
+
|
25
|
+
# @return [String] Unit could be Bytes or Count.
|
26
|
+
attr_accessor :unit
|
27
|
+
|
28
|
+
# @return [Array<Dimension>] Dimensions.
|
29
|
+
attr_accessor :dimensions
|
30
|
+
|
31
|
+
# @return [String] Aggregation type could be Average.
|
32
|
+
attr_accessor :aggregation_type
|
33
|
+
|
34
|
+
# @return [Boolean] The property to decide fill gap with zero or not.
|
35
|
+
attr_accessor :fill_gap_with_zero
|
36
|
+
|
37
|
+
# @return [String] The category this metric specification belong to,
|
38
|
+
# could be Capacity.
|
39
|
+
attr_accessor :category
|
40
|
+
|
41
|
+
# @return [String] Account Resource Id.
|
42
|
+
attr_accessor :resource_id_dimension_name_override
|
43
|
+
|
44
|
+
|
45
|
+
#
|
46
|
+
# Mapper for MetricSpecification class as Ruby Hash.
|
47
|
+
# This will be used for serialization/deserialization.
|
48
|
+
#
|
49
|
+
def self.mapper()
|
50
|
+
{
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'MetricSpecification',
|
53
|
+
type: {
|
54
|
+
name: 'Composite',
|
55
|
+
class_name: 'MetricSpecification',
|
56
|
+
model_properties: {
|
57
|
+
name: {
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'name',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
display_name: {
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'displayName',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
display_description: {
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'displayDescription',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
unit: {
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'unit',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
dimensions: {
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'dimensions',
|
88
|
+
type: {
|
89
|
+
name: 'Sequence',
|
90
|
+
element: {
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'DimensionElementType',
|
93
|
+
type: {
|
94
|
+
name: 'Composite',
|
95
|
+
class_name: 'Dimension'
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
},
|
100
|
+
aggregation_type: {
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'aggregationType',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
fill_gap_with_zero: {
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'fillGapWithZero',
|
110
|
+
type: {
|
111
|
+
name: 'Boolean'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
category: {
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'category',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
resource_id_dimension_name_override: {
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'resourceIdDimensionNameOverride',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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
|
+
# Storage REST API operation definition.
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Operation name: {provider}/{resource}/{operation}
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [OperationDisplay] Display metadata associated with the
|
20
|
+
# operation.
|
21
|
+
attr_accessor :display
|
22
|
+
|
23
|
+
# @return [String] The origin of operations.
|
24
|
+
attr_accessor :origin
|
25
|
+
|
26
|
+
# @return [ServiceSpecification] One property of operation, include
|
27
|
+
# metric specifications.
|
28
|
+
attr_accessor :service_specification
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for Operation class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'Operation',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'Operation',
|
42
|
+
model_properties: {
|
43
|
+
name: {
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
display: {
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'display',
|
53
|
+
type: {
|
54
|
+
name: 'Composite',
|
55
|
+
class_name: 'OperationDisplay'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
origin: {
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'origin',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
service_specification: {
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'properties.serviceSpecification',
|
68
|
+
type: {
|
69
|
+
name: 'Composite',
|
70
|
+
class_name: 'ServiceSpecification'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,65 @@
|
|
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
|
+
# Display metadata associated with the operation.
|
10
|
+
#
|
11
|
+
class OperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Service provider: Microsoft Storage.
|
17
|
+
attr_accessor :provider
|
18
|
+
|
19
|
+
# @return [String] Resource on which the operation is performed etc.
|
20
|
+
attr_accessor :resource
|
21
|
+
|
22
|
+
# @return [String] Type of operation: get, read, delete, etc.
|
23
|
+
attr_accessor :operation
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'Operation_display',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'OperationDisplay',
|
37
|
+
model_properties: {
|
38
|
+
provider: {
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'provider',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
resource: {
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'resource',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
operation: {
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'operation',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|