azure_mgmt_storage 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_storage.rb +1 -0
  3. data/lib/generated/azure_mgmt_storage/models/account_sas_parameters.rb +0 -1
  4. data/lib/generated/azure_mgmt_storage/models/check_name_availability_result.rb +0 -1
  5. data/lib/generated/azure_mgmt_storage/models/custom_domain.rb +0 -1
  6. data/lib/generated/azure_mgmt_storage/models/dimension.rb +0 -1
  7. data/lib/generated/azure_mgmt_storage/models/encryption.rb +0 -1
  8. data/lib/generated/azure_mgmt_storage/models/encryption_service.rb +0 -1
  9. data/lib/generated/azure_mgmt_storage/models/encryption_services.rb +0 -1
  10. data/lib/generated/azure_mgmt_storage/models/endpoints.rb +0 -1
  11. data/lib/generated/azure_mgmt_storage/models/identity.rb +0 -1
  12. data/lib/generated/azure_mgmt_storage/models/iprule.rb +0 -1
  13. data/lib/generated/azure_mgmt_storage/models/key_vault_properties.rb +0 -1
  14. data/lib/generated/azure_mgmt_storage/models/list_account_sas_response.rb +0 -1
  15. data/lib/generated/azure_mgmt_storage/models/list_service_sas_response.rb +0 -1
  16. data/lib/generated/azure_mgmt_storage/models/metric_specification.rb +0 -1
  17. data/lib/generated/azure_mgmt_storage/models/network_rule_set.rb +0 -1
  18. data/lib/generated/azure_mgmt_storage/models/operation.rb +0 -1
  19. data/lib/generated/azure_mgmt_storage/models/operation_display.rb +0 -1
  20. data/lib/generated/azure_mgmt_storage/models/operation_list_result.rb +0 -1
  21. data/lib/generated/azure_mgmt_storage/models/resource.rb +95 -0
  22. data/lib/generated/azure_mgmt_storage/models/restriction.rb +0 -1
  23. data/lib/generated/azure_mgmt_storage/models/service_sas_parameters.rb +0 -1
  24. data/lib/generated/azure_mgmt_storage/models/service_specification.rb +0 -1
  25. data/lib/generated/azure_mgmt_storage/models/sku.rb +0 -1
  26. data/lib/generated/azure_mgmt_storage/models/skucapability.rb +0 -1
  27. data/lib/generated/azure_mgmt_storage/models/storage_account.rb +1 -2
  28. data/lib/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +0 -1
  29. data/lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +0 -1
  30. data/lib/generated/azure_mgmt_storage/models/storage_account_key.rb +0 -1
  31. data/lib/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +0 -1
  32. data/lib/generated/azure_mgmt_storage/models/storage_account_list_result.rb +0 -1
  33. data/lib/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +0 -1
  34. data/lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +0 -1
  35. data/lib/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +0 -1
  36. data/lib/generated/azure_mgmt_storage/models/usage.rb +0 -1
  37. data/lib/generated/azure_mgmt_storage/models/usage_list_result.rb +0 -1
  38. data/lib/generated/azure_mgmt_storage/models/usage_name.rb +0 -1
  39. data/lib/generated/azure_mgmt_storage/models/virtual_network_rule.rb +0 -1
  40. data/lib/generated/azure_mgmt_storage/version.rb +1 -1
  41. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07c135c98754b367681769dc29f6c335fff2ec3f
4
- data.tar.gz: b0558267a31904ec4821deee4eddc5509e334853
3
+ metadata.gz: ba85e5d0a263568861e66043d90ddb38a03a234f
4
+ data.tar.gz: fa3b13bd18fa33ab2ce1d944bf7935373761194e
5
5
  SHA512:
6
- metadata.gz: e8be5a4f6f4e5b5bbeb86a9cbd2c989f5b6840dca59246e4b9798b5c977e21678f2d3fc0df5c8218713557383ed7265d716bc4b7e6a8dd3ba23217225d96ec36
7
- data.tar.gz: 62a6f981a33b44cd01bb0ceec372b4e9e79d8539fdbd45d20a97837789c6aadf35ea8f5a7a7c01d7b2d8795d063f96879839df6c81f8ef8c05e34f26d5f9d93c
6
+ metadata.gz: d294e76af7fa31d3aa1616280fa3a58911033a045ad88686340f9e27ba3640d8c1e318606995e350600e6b7092e496be5790127bf3df35fde77e5b8280f0aa14
7
+ data.tar.gz: 8dc40baddfdb2ccd3d693066655d55e1a84f83a0eb742591b33b210f5dc8c35c809fedb9249bfac101780ef0186d6b57673d14ed9e079e2a9715f47e79013239
@@ -54,6 +54,7 @@ module Azure::ARM::Storage
54
54
  autoload :EncryptionService, 'generated/azure_mgmt_storage/models/encryption_service.rb'
55
55
  autoload :UsageListResult, 'generated/azure_mgmt_storage/models/usage_list_result.rb'
56
56
  autoload :VirtualNetworkRule, 'generated/azure_mgmt_storage/models/virtual_network_rule.rb'
57
+ autoload :Resource, 'generated/azure_mgmt_storage/models/resource.rb'
57
58
  autoload :StorageAccountCheckNameAvailabilityParameters, 'generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb'
58
59
  autoload :AccountSasParameters, 'generated/azure_mgmt_storage/models/account_sas_parameters.rb'
59
60
  autoload :KeyVaultProperties, 'generated/azure_mgmt_storage/models/key_vault_properties.rb'
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Services] The signed services accessible with the account SAS.
17
16
  # Possible values include: Blob (b), Queue (q), Table (t), File (f).
18
17
  # Possible values include: 'b', 'q', 't', 'f'
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] Gets a boolean value that indicates whether the name
17
16
  # is available for you to use. If true, the name is available. If false,
18
17
  # the name has already been taken or is invalid and cannot be used.
@@ -13,7 +13,6 @@ module Azure::ARM::Storage
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] Gets or sets the custom domain name assigned to the
18
17
  # storage account. Name is the CNAME source.
19
18
  attr_accessor :name
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Display name of dimension.
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [EncryptionServices] List of services which support encryption.
17
16
  attr_accessor :services
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] A boolean indicating whether or not the service
17
16
  # encrypts the data as it is stored.
18
17
  attr_accessor :enabled
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [EncryptionService] The encryption function of the blob storage
17
16
  # service.
18
17
  attr_accessor :blob
@@ -13,7 +13,6 @@ module Azure::ARM::Storage
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] Gets the blob endpoint.
18
17
  attr_accessor :blob
19
18
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The principal ID of resource identity.
17
16
  attr_accessor :principal_id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Specifies the IP or IP range in CIDR format. Only IPV4
17
16
  # address is allowed.
18
17
  attr_accessor :ipaddress_or_range
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of KeyVault key.
17
16
  attr_accessor :key_name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] List SAS credentials of storage account.
17
16
  attr_accessor :account_sas_token
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] List service SAS credentials of speicific resource.
17
16
  attr_accessor :service_sas_token
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Name of metric specification.
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Bypass] Specifies whether traffic is bypassed for
17
16
  # Logging/Metrics/AzureServices. Possible values are any combination of
18
17
  # Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Operation name: {provider}/{resource}/{operation}
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Service provider: Microsoft Storage.
17
16
  attr_accessor :provider
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::Storage
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [Array<Operation>] List of Storage operations supported by the
18
17
  # Storage resource provider.
19
18
  attr_accessor :value
@@ -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::ARM::Storage
7
+ module Models
8
+ #
9
+ # Describes a storage resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource Id
16
+ attr_accessor :id
17
+
18
+ # @return [String] Resource name
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
24
+ # @return [String] Resource location
25
+ attr_accessor :location
26
+
27
+ # @return [Hash{String => String}] Tags assigned to a resource; can be
28
+ # used for viewing and grouping a resource (across resource groups).
29
+ attr_accessor :tags
30
+
31
+
32
+ #
33
+ # Mapper for Resource class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ required: false,
39
+ serialized_name: 'Resource',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Resource',
43
+ model_properties: {
44
+ id: {
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'id',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ name: {
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'name',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ type: {
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'type',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ location: {
69
+ required: false,
70
+ serialized_name: 'location',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ tags: {
76
+ required: false,
77
+ serialized_name: 'tags',
78
+ type: {
79
+ name: 'Dictionary',
80
+ value: {
81
+ required: false,
82
+ serialized_name: 'StringElementType',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The type of restrictions. As of now only possible
17
16
  # value for this is location.
18
17
  attr_accessor :type
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The canonical path to the signed resource.
17
16
  attr_accessor :canonicalized_resource
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<MetricSpecification>] Metric specifications of
17
16
  # operation.
18
17
  attr_accessor :metric_specifications
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [SkuName] Gets or sets the sku name. Required for account
17
16
  # creation; optional for update. Note that in older versions, sku name
18
17
  # was called accountType. Possible values include: 'Standard_LRS',
@@ -13,7 +13,6 @@ module Azure::ARM::Storage
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The name of capability, The capability information in
18
17
  # the specified sku, including file encryption, network acls, change
19
18
  # notification, etc.
@@ -8,11 +8,10 @@ module Azure::ARM::Storage
8
8
  #
9
9
  # The storage account.
10
10
  #
11
- class StorageAccount < MsRestAzure::Resource
11
+ class StorageAccount < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Sku] Gets the SKU.
17
16
  attr_accessor :sku
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The storage account name.
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Sku] Required. Gets or sets the sku name.
17
16
  attr_accessor :sku
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Name of the key.
17
16
  attr_accessor :key_name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<StorageAccountKey>] Gets the list of storage account
17
16
  # keys and their properties for the specified storage account.
18
17
  attr_accessor :keys
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<StorageAccount>] Gets the list of storage accounts and
17
16
  # their properties.
18
17
  attr_accessor :value
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of storage keys that want to be regenerated,
17
16
  # possible vaules are key1, key2.
18
17
  attr_accessor :key_name
@@ -13,7 +13,6 @@ module Azure::ARM::Storage
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [Sku] Gets or sets the SKU name. Note that the SKU name cannot
18
17
  # be updated to Standard_ZRS or Premium_LRS, nor can accounts of those
19
18
  # sku names be updated to any other value.
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<Sku>] Get the list result of storage SKUs and their
17
16
  # properties.
18
17
  attr_accessor :value
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [UsageUnit] Gets the unit of measurement. Possible values
17
16
  # include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond',
18
17
  # 'BytesPerSecond'
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<Usage>] Gets or sets the list of Storage Resource
17
16
  # Usages.
18
17
  attr_accessor :value
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Gets a string describing the resource name.
17
16
  attr_accessor :value
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Resource ID of a subnet, for example:
17
16
  # /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
18
17
  attr_accessor :virtual_network_resource_id
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Storage
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  end
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.13.0
4
+ version: 0.14.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-09-27 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -121,6 +121,7 @@ files:
121
121
  - lib/generated/azure_mgmt_storage/models/provisioning_state.rb
122
122
  - lib/generated/azure_mgmt_storage/models/reason.rb
123
123
  - lib/generated/azure_mgmt_storage/models/reason_code.rb
124
+ - lib/generated/azure_mgmt_storage/models/resource.rb
124
125
  - lib/generated/azure_mgmt_storage/models/restriction.rb
125
126
  - lib/generated/azure_mgmt_storage/models/service_sas_parameters.rb
126
127
  - lib/generated/azure_mgmt_storage/models/service_specification.rb