azure_mgmt_storage 0.17.8 → 0.17.9
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.rb +25 -23
- data/lib/2018-02-01/generated/azure_mgmt_storage/blob_containers.rb +142 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_container_request.rb +97 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_container_response.rb +60 -0
- 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.rb +24 -22
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/blob_containers.rb +142 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/lease_container_request.rb +97 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/lease_container_response.rb +60 -0
- 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 +27 -25
- data/lib/2018-07-01/generated/azure_mgmt_storage/blob_containers.rb +142 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_container_request.rb +97 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_container_response.rb +60 -0
- data/lib/2018-07-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-11-01/generated/azure_mgmt_storage.rb +31 -29
- data/lib/2018-11-01/generated/azure_mgmt_storage/blob_containers.rb +153 -1
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_container_request.rb +97 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_container_response.rb +60 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/storage_accounts.rb +97 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_storage.rb +128 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/blob_containers.rb +1873 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/blob_services.rb +266 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/management_policies.rb +355 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/action.rb +15 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/blob_service_properties.rb +115 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/cors_rule.rb +128 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/cors_rules.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/date_after_creation.rb +50 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/date_after_modification.rb +50 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/delete_retention_policy.rb +64 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb +85 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/geo_replication_status.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_request.rb +97 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb +60 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy.rb +89 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_action.rb +62 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb +73 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_definition.rb +60 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_filter.rb +76 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_rule.rb +87 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_schema.rb +58 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb +47 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/sku_name.rb +22 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account.rb +374 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +63 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +202 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_expand.rb +15 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +178 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/operations.rb +108 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/skus.rb +114 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/storage_accounts.rb +1602 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/storage_management_client.rb +155 -0
- data/lib/2019-04-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 +232 -224
- data/lib/version.rb +1 -1
- metadata +115 -3
@@ -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::V2019_04_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::V2019_04_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::V2019_04_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::V2019_04_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::V2019_04_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::V2019_04_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::V2019_04_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::V2019_04_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
|
@@ -0,0 +1,247 @@
|
|
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::V2019_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The parameters to list service SAS credentials of a specific resource.
|
10
|
+
#
|
11
|
+
class ServiceSasParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The canonical path to the signed resource.
|
16
|
+
attr_accessor :canonicalized_resource
|
17
|
+
|
18
|
+
# @return [SignedResource] The signed services accessible with the
|
19
|
+
# service SAS. Possible values include: Blob (b), Container (c), File
|
20
|
+
# (f), Share (s). Possible values include: 'b', 'c', 'f', 's'
|
21
|
+
attr_accessor :resource
|
22
|
+
|
23
|
+
# @return [Permissions] The signed permissions for the service SAS.
|
24
|
+
# Possible values include: Read (r), Write (w), Delete (d), List (l), Add
|
25
|
+
# (a), Create (c), Update (u) and Process (p). Possible values include:
|
26
|
+
# 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
|
27
|
+
attr_accessor :permissions
|
28
|
+
|
29
|
+
# @return [String] An IP address or a range of IP addresses from which to
|
30
|
+
# accept requests.
|
31
|
+
attr_accessor :ipaddress_or_range
|
32
|
+
|
33
|
+
# @return [HttpProtocol] The protocol permitted for a request made with
|
34
|
+
# the account SAS. Possible values include: 'https,http', 'https'
|
35
|
+
attr_accessor :protocols
|
36
|
+
|
37
|
+
# @return [DateTime] The time at which the SAS becomes valid.
|
38
|
+
attr_accessor :shared_access_start_time
|
39
|
+
|
40
|
+
# @return [DateTime] The time at which the shared access signature
|
41
|
+
# becomes invalid.
|
42
|
+
attr_accessor :shared_access_expiry_time
|
43
|
+
|
44
|
+
# @return [String] A unique value up to 64 characters in length that
|
45
|
+
# correlates to an access policy specified for the container, queue, or
|
46
|
+
# table.
|
47
|
+
attr_accessor :identifier
|
48
|
+
|
49
|
+
# @return [String] The start of partition key.
|
50
|
+
attr_accessor :partition_key_start
|
51
|
+
|
52
|
+
# @return [String] The end of partition key.
|
53
|
+
attr_accessor :partition_key_end
|
54
|
+
|
55
|
+
# @return [String] The start of row key.
|
56
|
+
attr_accessor :row_key_start
|
57
|
+
|
58
|
+
# @return [String] The end of row key.
|
59
|
+
attr_accessor :row_key_end
|
60
|
+
|
61
|
+
# @return [String] The key to sign the account SAS token with.
|
62
|
+
attr_accessor :key_to_sign
|
63
|
+
|
64
|
+
# @return [String] The response header override for cache control.
|
65
|
+
attr_accessor :cache_control
|
66
|
+
|
67
|
+
# @return [String] The response header override for content disposition.
|
68
|
+
attr_accessor :content_disposition
|
69
|
+
|
70
|
+
# @return [String] The response header override for content encoding.
|
71
|
+
attr_accessor :content_encoding
|
72
|
+
|
73
|
+
# @return [String] The response header override for content language.
|
74
|
+
attr_accessor :content_language
|
75
|
+
|
76
|
+
# @return [String] The response header override for content type.
|
77
|
+
attr_accessor :content_type
|
78
|
+
|
79
|
+
|
80
|
+
#
|
81
|
+
# Mapper for ServiceSasParameters class as Ruby Hash.
|
82
|
+
# This will be used for serialization/deserialization.
|
83
|
+
#
|
84
|
+
def self.mapper()
|
85
|
+
{
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'ServiceSasParameters',
|
89
|
+
type: {
|
90
|
+
name: 'Composite',
|
91
|
+
class_name: 'ServiceSasParameters',
|
92
|
+
model_properties: {
|
93
|
+
canonicalized_resource: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: true,
|
96
|
+
serialized_name: 'canonicalizedResource',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
resource: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'signedResource',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
permissions: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: false,
|
112
|
+
serialized_name: 'signedPermission',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
ipaddress_or_range: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
serialized_name: 'signedIp',
|
121
|
+
type: {
|
122
|
+
name: 'String'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
protocols: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'signedProtocol',
|
129
|
+
type: {
|
130
|
+
name: 'Enum',
|
131
|
+
module: 'HttpProtocol'
|
132
|
+
}
|
133
|
+
},
|
134
|
+
shared_access_start_time: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'signedStart',
|
138
|
+
type: {
|
139
|
+
name: 'DateTime'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
shared_access_expiry_time: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'signedExpiry',
|
146
|
+
type: {
|
147
|
+
name: 'DateTime'
|
148
|
+
}
|
149
|
+
},
|
150
|
+
identifier: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'signedIdentifier',
|
154
|
+
constraints: {
|
155
|
+
MaxLength: 64
|
156
|
+
},
|
157
|
+
type: {
|
158
|
+
name: 'String'
|
159
|
+
}
|
160
|
+
},
|
161
|
+
partition_key_start: {
|
162
|
+
client_side_validation: true,
|
163
|
+
required: false,
|
164
|
+
serialized_name: 'startPk',
|
165
|
+
type: {
|
166
|
+
name: 'String'
|
167
|
+
}
|
168
|
+
},
|
169
|
+
partition_key_end: {
|
170
|
+
client_side_validation: true,
|
171
|
+
required: false,
|
172
|
+
serialized_name: 'endPk',
|
173
|
+
type: {
|
174
|
+
name: 'String'
|
175
|
+
}
|
176
|
+
},
|
177
|
+
row_key_start: {
|
178
|
+
client_side_validation: true,
|
179
|
+
required: false,
|
180
|
+
serialized_name: 'startRk',
|
181
|
+
type: {
|
182
|
+
name: 'String'
|
183
|
+
}
|
184
|
+
},
|
185
|
+
row_key_end: {
|
186
|
+
client_side_validation: true,
|
187
|
+
required: false,
|
188
|
+
serialized_name: 'endRk',
|
189
|
+
type: {
|
190
|
+
name: 'String'
|
191
|
+
}
|
192
|
+
},
|
193
|
+
key_to_sign: {
|
194
|
+
client_side_validation: true,
|
195
|
+
required: false,
|
196
|
+
serialized_name: 'keyToSign',
|
197
|
+
type: {
|
198
|
+
name: 'String'
|
199
|
+
}
|
200
|
+
},
|
201
|
+
cache_control: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
serialized_name: 'rscc',
|
205
|
+
type: {
|
206
|
+
name: 'String'
|
207
|
+
}
|
208
|
+
},
|
209
|
+
content_disposition: {
|
210
|
+
client_side_validation: true,
|
211
|
+
required: false,
|
212
|
+
serialized_name: 'rscd',
|
213
|
+
type: {
|
214
|
+
name: 'String'
|
215
|
+
}
|
216
|
+
},
|
217
|
+
content_encoding: {
|
218
|
+
client_side_validation: true,
|
219
|
+
required: false,
|
220
|
+
serialized_name: 'rsce',
|
221
|
+
type: {
|
222
|
+
name: 'String'
|
223
|
+
}
|
224
|
+
},
|
225
|
+
content_language: {
|
226
|
+
client_side_validation: true,
|
227
|
+
required: false,
|
228
|
+
serialized_name: 'rscl',
|
229
|
+
type: {
|
230
|
+
name: 'String'
|
231
|
+
}
|
232
|
+
},
|
233
|
+
content_type: {
|
234
|
+
client_side_validation: true,
|
235
|
+
required: false,
|
236
|
+
serialized_name: 'rsct',
|
237
|
+
type: {
|
238
|
+
name: 'String'
|
239
|
+
}
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
end
|
245
|
+
end
|
246
|
+
end
|
247
|
+
end
|