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
@@ -0,0 +1,108 @@
|
|
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 URIs that are used to perform a retrieval of a public blob, queue,
|
10
|
+
# table, web or dfs object.
|
11
|
+
#
|
12
|
+
class Endpoints
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Gets the blob endpoint.
|
17
|
+
attr_accessor :blob
|
18
|
+
|
19
|
+
# @return [String] Gets the queue endpoint.
|
20
|
+
attr_accessor :queue
|
21
|
+
|
22
|
+
# @return [String] Gets the table endpoint.
|
23
|
+
attr_accessor :table
|
24
|
+
|
25
|
+
# @return [String] Gets the file endpoint.
|
26
|
+
attr_accessor :file
|
27
|
+
|
28
|
+
# @return [String] Gets the web endpoint.
|
29
|
+
attr_accessor :web
|
30
|
+
|
31
|
+
# @return [String] Gets the dfs endpoint.
|
32
|
+
attr_accessor :dfs
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for Endpoints class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'Endpoints',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'Endpoints',
|
47
|
+
model_properties: {
|
48
|
+
blob: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'blob',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
queue: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'queue',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
table: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'table',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
file: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
read_only: true,
|
79
|
+
serialized_name: 'file',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
web: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'web',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
dfs: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'dfs',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
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_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for HttpProtocol
|
10
|
+
#
|
11
|
+
module HttpProtocol
|
12
|
+
Httpshttp = "https,http"
|
13
|
+
Https = "https"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,72 @@
|
|
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
|
+
# Identity for the resource.
|
10
|
+
#
|
11
|
+
class Identity
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The principal ID of resource identity.
|
16
|
+
attr_accessor :principal_id
|
17
|
+
|
18
|
+
# @return [String] The tenant ID of resource.
|
19
|
+
attr_accessor :tenant_id
|
20
|
+
|
21
|
+
# @return [String] The identity type. Default value: 'SystemAssigned' .
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for Identity class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'Identity',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'Identity',
|
37
|
+
model_properties: {
|
38
|
+
principal_id: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'principalId',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
tenant_id: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'tenantId',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
type: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: true,
|
59
|
+
is_constant: true,
|
60
|
+
serialized_name: 'type',
|
61
|
+
default_value: 'SystemAssigned',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,98 @@
|
|
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 ImmutabilityPolicy property of a blob container, including Id,
|
10
|
+
# resource name, resource type, Etag.
|
11
|
+
#
|
12
|
+
class ImmutabilityPolicy < AzureEntityResource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Integer] The immutability period for the blobs in the
|
17
|
+
# container since the policy creation, in days.
|
18
|
+
attr_accessor :immutability_period_since_creation_in_days
|
19
|
+
|
20
|
+
# @return [ImmutabilityPolicyState] The ImmutabilityPolicy state of a
|
21
|
+
# blob container, possible values include: Locked and Unlocked. Possible
|
22
|
+
# values include: 'Locked', 'Unlocked'
|
23
|
+
attr_accessor :state
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ImmutabilityPolicy class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'ImmutabilityPolicy',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'ImmutabilityPolicy',
|
38
|
+
model_properties: {
|
39
|
+
id: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'id',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
name: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'name',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
type: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'type',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
etag: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'etag',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
immutability_period_since_creation_in_days: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: true,
|
78
|
+
serialized_name: 'properties.immutabilityPeriodSinceCreationInDays',
|
79
|
+
type: {
|
80
|
+
name: 'Number'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
state: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'properties.state',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,95 @@
|
|
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 properties of an ImmutabilityPolicy of a blob container.
|
10
|
+
#
|
11
|
+
class ImmutabilityPolicyProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The immutability period for the blobs in the
|
16
|
+
# container since the policy creation, in days.
|
17
|
+
attr_accessor :immutability_period_since_creation_in_days
|
18
|
+
|
19
|
+
# @return [ImmutabilityPolicyState] The ImmutabilityPolicy state of a
|
20
|
+
# blob container, possible values include: Locked and Unlocked. Possible
|
21
|
+
# values include: 'Locked', 'Unlocked'
|
22
|
+
attr_accessor :state
|
23
|
+
|
24
|
+
# @return [String] ImmutabilityPolicy Etag.
|
25
|
+
attr_accessor :etag
|
26
|
+
|
27
|
+
# @return [Array<UpdateHistoryProperty>] The ImmutabilityPolicy update
|
28
|
+
# history of the blob container.
|
29
|
+
attr_accessor :update_history
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for ImmutabilityPolicyProperties 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: 'ImmutabilityPolicyProperties',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'ImmutabilityPolicyProperties',
|
44
|
+
model_properties: {
|
45
|
+
immutability_period_since_creation_in_days: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: true,
|
48
|
+
serialized_name: 'properties.immutabilityPeriodSinceCreationInDays',
|
49
|
+
type: {
|
50
|
+
name: 'Number'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
state: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'properties.state',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
etag: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'etag',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
update_history: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'updateHistory',
|
76
|
+
type: {
|
77
|
+
name: 'Sequence',
|
78
|
+
element: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'UpdateHistoryPropertyElementType',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'UpdateHistoryProperty'
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
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_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ImmutabilityPolicyState
|
10
|
+
#
|
11
|
+
module ImmutabilityPolicyState
|
12
|
+
Locked = "Locked"
|
13
|
+
Unlocked = "Unlocked"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
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_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ImmutabilityPolicyUpdateType
|
10
|
+
#
|
11
|
+
module ImmutabilityPolicyUpdateType
|
12
|
+
Put = "put"
|
13
|
+
Lock = "lock"
|
14
|
+
Extend = "extend"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,61 @@
|
|
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
|
+
# IP rule with specific IP or IP range in CIDR format.
|
10
|
+
#
|
11
|
+
class IPRule
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Specifies the IP or IP range in CIDR format. Only IPV4
|
16
|
+
# address is allowed.
|
17
|
+
attr_accessor :ipaddress_or_range
|
18
|
+
|
19
|
+
# @return [Action] The action of IP ACL rule. Possible values include:
|
20
|
+
# 'Allow'. Default value: 'Allow' .
|
21
|
+
attr_accessor :action
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for IPRule class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'IPRule',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'IPRule',
|
36
|
+
model_properties: {
|
37
|
+
ipaddress_or_range: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'value',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
action: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'action',
|
49
|
+
default_value: 'Allow',
|
50
|
+
type: {
|
51
|
+
name: 'Enum',
|
52
|
+
module: 'Action'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|