azure_mgmt_key_vault 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cef0f115b0cb54b6cd5b896e08c64cb4df002bb
4
- data.tar.gz: 2495aa4730f561d1fe53cc0a6c52444844ae9c74
3
+ metadata.gz: 3fb0a8679e9524079c41eda0a868cfc0fe857aa5
4
+ data.tar.gz: 33c0aa544916ea71b891a2d25c01b0b7d251e10e
5
5
  SHA512:
6
- metadata.gz: ae2ea36579308fb0ab19094e0a873032d2d33a06f888c9ea4351f8e6b888cfa4b2d68c3474742342976b3e3f3d5869fda4be1bd5df1a3cbe6746c329f17a8a75
7
- data.tar.gz: 08fd7e055810e4dbda2ddb2b5b3f5c7d222b944181f6d3910ac1d0e0119ee830e293535884e7e2f8d506eb6a18784d6664708fb10620c8ffcc3f6888c8b47f04
6
+ metadata.gz: acdf6a3dfbcf7c57a89982bdd067dffb651fc1f042b5b535a60a679ceee63abd0c1da4e633d810115a2eb6217850538ba89460d3e7b07b65e68d61c268d7e744
7
+ data.tar.gz: 2b8732396e3e740022bc9522a329d586454caf0357b9913b4a4b7e0cce2aaa362dbb2a5be24a0ef21653912bfb709973770f170a0b9cfcd324ab9992cc4a1255
@@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency 'rspec', '~> 3'
31
31
  spec.add_development_dependency 'dotenv', '~> 2'
32
32
 
33
- spec.add_runtime_dependency 'ms_rest_azure', '~> 0.3.0'
33
+ spec.add_runtime_dependency 'ms_rest_azure', '~> 0.4.0'
34
34
  end
@@ -31,7 +31,8 @@ module Azure::ARM::KeyVault
31
31
  autoload :VaultCreateOrUpdateParameters, 'generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb'
32
32
  autoload :VaultListResult, 'generated/azure_mgmt_key_vault/models/vault_list_result.rb'
33
33
  autoload :Vault, 'generated/azure_mgmt_key_vault/models/vault.rb'
34
- autoload :SkuFamily, 'generated/azure_mgmt_key_vault/models/sku_family.rb'
35
34
  autoload :SkuName, 'generated/azure_mgmt_key_vault/models/sku_name.rb'
35
+ autoload :KeyPermissions, 'generated/azure_mgmt_key_vault/models/key_permissions.rb'
36
+ autoload :SecretPermissions, 'generated/azure_mgmt_key_vault/models/secret_permissions.rb'
36
37
  end
37
38
  end
@@ -8,8 +8,8 @@ module Azure::ARM::KeyVault
8
8
  # A service client - single point of access to the REST API.
9
9
  #
10
10
  class KeyVaultManagementClient < MsRestAzure::AzureServiceClient
11
- include MsRest::Serialization
12
11
  include MsRestAzure
12
+ include MsRestAzure::Serialization
13
13
 
14
14
  # @return [String] the base URI of the service.
15
15
  attr_accessor :base_url
@@ -19,7 +19,8 @@ module Azure::ARM::KeyVault
19
19
  attr_accessor :tenant_id
20
20
 
21
21
  # @return The object ID of a user or service principal in the Azure
22
- # Active Directory tenant for the vault.
22
+ # Active Directory tenant for the vault. The object ID must be unique
23
+ # for the list of access policies.
23
24
  attr_accessor :object_id
24
25
 
25
26
  # @return Application ID of the client making request on behalf of a
@@ -43,14 +44,14 @@ module Azure::ARM::KeyVault
43
44
  class_name: 'AccessPolicyEntry',
44
45
  model_properties: {
45
46
  tenant_id: {
46
- required: false,
47
+ required: true,
47
48
  serialized_name: 'tenantId',
48
49
  type: {
49
50
  name: 'String'
50
51
  }
51
52
  },
52
53
  object_id: {
53
- required: false,
54
+ required: true,
54
55
  serialized_name: 'objectId',
55
56
  type: {
56
57
  name: 'String'
@@ -64,7 +65,7 @@ module Azure::ARM::KeyVault
64
65
  }
65
66
  },
66
67
  permissions: {
67
- required: false,
68
+ required: true,
68
69
  serialized_name: 'permissions',
69
70
  type: {
70
71
  name: 'Composite',
@@ -0,0 +1,29 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::KeyVault
7
+ module Models
8
+ #
9
+ # Defines values for KeyPermissions
10
+ #
11
+ module KeyPermissions
12
+ All = "all"
13
+ Encrypt = "encrypt"
14
+ Decrypt = "decrypt"
15
+ Wrapkey = "wrapkey"
16
+ Unwrapkey = "unwrapkey"
17
+ Sign = "sign"
18
+ Verify = "verify"
19
+ Get = "get"
20
+ List = "list"
21
+ Create = "create"
22
+ Update = "update"
23
+ Import = "import"
24
+ Delete = "delete"
25
+ Backup = "backup"
26
+ Restore = "restore"
27
+ end
28
+ end
29
+ end
@@ -12,10 +12,10 @@ module Azure::ARM::KeyVault
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<String>] Permissions to keys
15
+ # @return [Array<KeyPermissions>] Permissions to keys
16
16
  attr_accessor :keys
17
17
 
18
- # @return [Array<String>] Permissions to secrets
18
+ # @return [Array<SecretPermissions>] Permissions to secrets
19
19
  attr_accessor :secrets
20
20
 
21
21
 
@@ -38,7 +38,7 @@ module Azure::ARM::KeyVault
38
38
  name: 'Sequence',
39
39
  element: {
40
40
  required: false,
41
- serialized_name: 'StringElementType',
41
+ serialized_name: 'KeyPermissionsElementType',
42
42
  type: {
43
43
  name: 'String'
44
44
  }
@@ -52,7 +52,7 @@ module Azure::ARM::KeyVault
52
52
  name: 'Sequence',
53
53
  element: {
54
54
  required: false,
55
- serialized_name: 'StringElementType',
55
+ serialized_name: 'SecretPermissionsElementType',
56
56
  type: {
57
57
  name: 'String'
58
58
  }
@@ -6,10 +6,14 @@
6
6
  module Azure::ARM::KeyVault
7
7
  module Models
8
8
  #
9
- # Defines values for SkuFamily
9
+ # Defines values for SecretPermissions
10
10
  #
11
- module SkuFamily
12
- A = "A"
11
+ module SecretPermissions
12
+ All = "all"
13
+ Get = "get"
14
+ List = "list"
15
+ Set = "set"
16
+ Delete = "delete"
13
17
  end
14
18
  end
15
19
  end
@@ -12,7 +12,7 @@ module Azure::ARM::KeyVault
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [SkuFamily] SKU family name. Possible values include: 'A'
15
+ # @return [String] SKU family name. Default value: 'A' .
16
16
  attr_accessor :family
17
17
 
18
18
  # @return [SkuName] SKU name to specify whether the key vault is a
@@ -34,8 +34,10 @@ module Azure::ARM::KeyVault
34
34
  class_name: 'Sku',
35
35
  model_properties: {
36
36
  family: {
37
- required: false,
37
+ required: true,
38
+ is_constant: true,
38
39
  serialized_name: 'family',
40
+ default_value: 'A',
39
41
  type: {
40
42
  name: 'String'
41
43
  }
@@ -75,6 +75,7 @@ module Azure::ARM::KeyVault
75
75
  properties: {
76
76
  required: true,
77
77
  serialized_name: 'properties',
78
+ default_value: {},
78
79
  type: {
79
80
  name: 'Composite',
80
81
  class_name: 'VaultProperties'
@@ -60,6 +60,7 @@ module Azure::ARM::KeyVault
60
60
  properties: {
61
61
  required: true,
62
62
  serialized_name: 'properties',
63
+ default_value: {},
63
64
  type: {
64
65
  name: 'Composite',
65
66
  class_name: 'VaultProperties'
@@ -71,6 +71,7 @@ module Azure::ARM::KeyVault
71
71
  sku: {
72
72
  required: true,
73
73
  serialized_name: 'sku',
74
+ default_value: {},
74
75
  type: {
75
76
  name: 'Composite',
76
77
  class_name: 'Sku'
@@ -20,7 +20,7 @@ module Azure::ARM::KeyVault
20
20
  @client = client
21
21
  end
22
22
 
23
- # @return reference to the KeyVaultManagementClient
23
+ # @return [KeyVaultManagementClient] reference to the KeyVaultManagementClient
24
24
  attr_reader :client
25
25
 
26
26
  #
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::KeyVault
7
- VERSION = '0.4.0'
7
+ VERSION = '0.5.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_key_vault
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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: 2016-07-22 00:00:00.000000000 Z
11
+ date: 2016-08-11 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.3.0
75
+ version: 0.4.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.3.0
82
+ version: 0.4.0
83
83
  description: Microsoft Azure Resource Management Key Vault Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -94,9 +94,10 @@ files:
94
94
  - lib/generated/azure_mgmt_key_vault.rb
95
95
  - lib/generated/azure_mgmt_key_vault/key_vault_management_client.rb
96
96
  - lib/generated/azure_mgmt_key_vault/models/access_policy_entry.rb
97
+ - lib/generated/azure_mgmt_key_vault/models/key_permissions.rb
97
98
  - lib/generated/azure_mgmt_key_vault/models/permissions.rb
99
+ - lib/generated/azure_mgmt_key_vault/models/secret_permissions.rb
98
100
  - lib/generated/azure_mgmt_key_vault/models/sku.rb
99
- - lib/generated/azure_mgmt_key_vault/models/sku_family.rb
100
101
  - lib/generated/azure_mgmt_key_vault/models/sku_name.rb
101
102
  - lib/generated/azure_mgmt_key_vault/models/vault.rb
102
103
  - lib/generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb