azure_mgmt_key_vault 0.7.0 → 0.8.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: fd6ea816d0824e80c55c3cf9c26dfb812851fa5f
4
- data.tar.gz: edc8d2a3edb98030a3cc219dcacea408dabda2f6
3
+ metadata.gz: bedb04704ca6af5533248ff106b4392238801822
4
+ data.tar.gz: fc32f8d77685c86e7fdf5ca6950355a220f59cb8
5
5
  SHA512:
6
- metadata.gz: eecd7c3c4ae784c264908861b74c49ce696fdae27cf81c6ad35523170ca8ec2bab259707a98e5f2da003c6eee440ec9f8145e9a5862388d5c0e1734675ef64a1
7
- data.tar.gz: c3c93ee4515cdb97cce2d483f689acab0fe00a994eb1774252757934ef79b1c4a7d17b6ec5edf5d87860c76578a4ed4b3d6b0aa564826772b4c21ef1d0020d0a
6
+ metadata.gz: 261b5a1a67e31e1d0dfb47c8ba4e5981d1d16d12a49055db6619de1729be1e7eb13c993efeeb3713c26025e90758ed342438df553f2a3902598d0e1a3116ce53
7
+ data.tar.gz: 1fe19732c235b2c21a517a6151e1550d9814a1e6ebb49b31eaa02da909782e579af0a73027d9be0d710fe02b94b805b9e22846c59a28eb6dc5ee221f212b192b
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -24,12 +24,12 @@ module Azure::ARM::KeyVault
24
24
  autoload :KeyVaultManagementClient, 'generated/azure_mgmt_key_vault/key_vault_management_client.rb'
25
25
 
26
26
  module Models
27
+ autoload :VaultCreateOrUpdateParameters, 'generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb'
27
28
  autoload :Sku, 'generated/azure_mgmt_key_vault/models/sku.rb'
28
29
  autoload :AccessPolicyEntry, 'generated/azure_mgmt_key_vault/models/access_policy_entry.rb'
29
- autoload :Permissions, 'generated/azure_mgmt_key_vault/models/permissions.rb'
30
30
  autoload :VaultProperties, 'generated/azure_mgmt_key_vault/models/vault_properties.rb'
31
- autoload :VaultCreateOrUpdateParameters, 'generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb'
32
31
  autoload :VaultListResult, 'generated/azure_mgmt_key_vault/models/vault_list_result.rb'
32
+ autoload :Permissions, 'generated/azure_mgmt_key_vault/models/permissions.rb'
33
33
  autoload :Vault, 'generated/azure_mgmt_key_vault/models/vault.rb'
34
34
  autoload :SkuName, 'generated/azure_mgmt_key_vault/models/sku_name.rb'
35
35
  autoload :KeyPermissions, 'generated/azure_mgmt_key_vault/models/key_permissions.rb'
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -58,6 +58,7 @@ module Azure::ARM::KeyVault
58
58
  @accept_language = 'en-US'
59
59
  @long_running_operation_retry_timeout = 30
60
60
  @generate_client_request_id = true
61
+ add_telemetry
61
62
  end
62
63
 
63
64
  #
@@ -115,5 +116,17 @@ module Azure::ARM::KeyVault
115
116
  super(request_url, method, path, options)
116
117
  end
117
118
 
119
+
120
+ private
121
+ #
122
+ # Adds telemetry information.
123
+ #
124
+ def add_telemetry
125
+ sdk_information = 'azure_mgmt_key_vault'
126
+ if defined? Azure::ARM::KeyVault::VERSION
127
+ sdk_information = "#{sdk_information}/#{Azure::ARM::KeyVault::VERSION}"
128
+ end
129
+ add_user_agent_information(sdk_information)
130
+ end
118
131
  end
119
132
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -17,9 +17,9 @@ module Azure::ARM::KeyVault
17
17
  # authenticating requests to the key vault.
18
18
  attr_accessor :tenant_id
19
19
 
20
- # @return The object ID of a user, service principal or security group
21
- # in the Azure Active Directory tenant for the vault. The object ID
22
- # must be unique for the list of access policies.
20
+ # @return The object ID of a user, service principal or security group in
21
+ # the Azure Active Directory tenant for the vault. The object ID must be
22
+ # unique for the list of access policies.
23
23
  attr_accessor :object_id
24
24
 
25
25
  # @return Application ID of the client making request on behalf of a
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -16,8 +16,8 @@ module Azure::ARM::KeyVault
16
16
  attr_accessor :family
17
17
 
18
18
  # @return [SkuName] SKU name to specify whether the key vault is a
19
- # standard vault or a premium vault. Possible values include:
20
- # 'standard', 'premium'
19
+ # standard vault or a premium vault. Possible values include: 'standard',
20
+ # 'premium'
21
21
  attr_accessor :name
22
22
 
23
23
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,8 +12,8 @@ module Azure::ARM::KeyVault
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] The URI of the vault for performing operations on
16
- # keys and secrets.
15
+ # @return [String] The URI of the vault for performing operations on keys
16
+ # and secrets.
17
17
  attr_accessor :vault_uri
18
18
 
19
19
  # @return The Azure Active Directory tenant ID that should be used for
@@ -24,8 +24,8 @@ module Azure::ARM::KeyVault
24
24
  attr_accessor :sku
25
25
 
26
26
  # @return [Array<AccessPolicyEntry>] An array of 0 to 16 identities that
27
- # have access to the key vault. All identities in the array must use
28
- # the same tenant ID as the key vault's tenant ID.
27
+ # have access to the key vault. All identities in the array must use the
28
+ # same tenant ID as the key vault's tenant ID.
29
29
  attr_accessor :access_policies
30
30
 
31
31
  # @return [Boolean] Property to specify whether Azure Virtual Machines
@@ -37,8 +37,8 @@ module Azure::ARM::KeyVault
37
37
  # permitted to retrieve secrets from the vault and unwrap keys.
38
38
  attr_accessor :enabled_for_disk_encryption
39
39
 
40
- # @return [Boolean] Property to specify whether Azure Resource Manager
41
- # is permitted to retrieve secrets from the key vault.
40
+ # @return [Boolean] Property to specify whether Azure Resource Manager is
41
+ # permitted to retrieve secrets from the key vault.
42
42
  attr_accessor :enabled_for_template_deployment
43
43
 
44
44
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -320,29 +320,6 @@ module Azure::ARM::KeyVault
320
320
  promise.execute
321
321
  end
322
322
 
323
- #
324
- # The List operation gets information about the vaults associated with the
325
- # subscription and within the specified resource group.
326
- #
327
- # @param resource_group_name [String] The name of the Resource Group to which
328
- # the vault belongs.
329
- # @param top [Integer] Maximum number of results to return.
330
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
331
- # will be added to the HTTP request.
332
- #
333
- # @return [VaultListResult] which provide lazy access to pages of the response.
334
- #
335
- def list_by_resource_group_as_lazy(resource_group_name, top = nil, custom_headers = nil)
336
- response = list_by_resource_group_async(resource_group_name, top, custom_headers).value!
337
- unless response.nil?
338
- page = response.body
339
- page.next_method = Proc.new do |next_page_link|
340
- list_by_resource_group_next_async(next_page_link, custom_headers)
341
- end
342
- page
343
- end
344
- end
345
-
346
323
  #
347
324
  # The List operation gets information about the vaults associated with the
348
325
  # subscription and within the specified resource group.
@@ -439,27 +416,6 @@ module Azure::ARM::KeyVault
439
416
  promise.execute
440
417
  end
441
418
 
442
- #
443
- # The List operation gets information about the vaults associated with the
444
- # subscription.
445
- #
446
- # @param top [Integer] Maximum number of results to return.
447
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
448
- # will be added to the HTTP request.
449
- #
450
- # @return [VaultListResult] which provide lazy access to pages of the response.
451
- #
452
- def list_as_lazy(top = nil, custom_headers = nil)
453
- response = list_async(top, custom_headers).value!
454
- unless response.nil?
455
- page = response.body
456
- page.next_method = Proc.new do |next_page_link|
457
- list_next_async(next_page_link, custom_headers)
458
- end
459
- page
460
- end
461
- end
462
-
463
419
  #
464
420
  # The List operation gets information about the vaults associated with the
465
421
  # subscription.
@@ -554,8 +510,8 @@ module Azure::ARM::KeyVault
554
510
  # The List operation gets information about the vaults associated with the
555
511
  # subscription and within the specified resource group.
556
512
  #
557
- # @param next_page_link [String] The NextLink from the previous successful
558
- # call to List operation.
513
+ # @param next_page_link [String] The NextLink from the previous successful call
514
+ # to List operation.
559
515
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
560
516
  # will be added to the HTTP request.
561
517
  #
@@ -570,8 +526,8 @@ module Azure::ARM::KeyVault
570
526
  # The List operation gets information about the vaults associated with the
571
527
  # subscription and within the specified resource group.
572
528
  #
573
- # @param next_page_link [String] The NextLink from the previous successful
574
- # call to List operation.
529
+ # @param next_page_link [String] The NextLink from the previous successful call
530
+ # to List operation.
575
531
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
576
532
  # will be added to the HTTP request.
577
533
  #
@@ -585,8 +541,8 @@ module Azure::ARM::KeyVault
585
541
  # The List operation gets information about the vaults associated with the
586
542
  # subscription and within the specified resource group.
587
543
  #
588
- # @param next_page_link [String] The NextLink from the previous successful
589
- # call to List operation.
544
+ # @param next_page_link [String] The NextLink from the previous successful call
545
+ # to List operation.
590
546
  # @param [Hash{String => String}] A hash of custom headers that will be added
591
547
  # to the HTTP request.
592
548
  #
@@ -644,8 +600,8 @@ module Azure::ARM::KeyVault
644
600
  # The List operation gets information about the vaults associated with the
645
601
  # subscription.
646
602
  #
647
- # @param next_page_link [String] The NextLink from the previous successful
648
- # call to List operation.
603
+ # @param next_page_link [String] The NextLink from the previous successful call
604
+ # to List operation.
649
605
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
650
606
  # will be added to the HTTP request.
651
607
  #
@@ -660,8 +616,8 @@ module Azure::ARM::KeyVault
660
616
  # The List operation gets information about the vaults associated with the
661
617
  # subscription.
662
618
  #
663
- # @param next_page_link [String] The NextLink from the previous successful
664
- # call to List operation.
619
+ # @param next_page_link [String] The NextLink from the previous successful call
620
+ # to List operation.
665
621
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
666
622
  # will be added to the HTTP request.
667
623
  #
@@ -675,8 +631,8 @@ module Azure::ARM::KeyVault
675
631
  # The List operation gets information about the vaults associated with the
676
632
  # subscription.
677
633
  #
678
- # @param next_page_link [String] The NextLink from the previous successful
679
- # call to List operation.
634
+ # @param next_page_link [String] The NextLink from the previous successful call
635
+ # to List operation.
680
636
  # @param [Hash{String => String}] A hash of custom headers that will be added
681
637
  # to the HTTP request.
682
638
  #
@@ -730,5 +686,49 @@ module Azure::ARM::KeyVault
730
686
  promise.execute
731
687
  end
732
688
 
689
+ #
690
+ # The List operation gets information about the vaults associated with the
691
+ # subscription and within the specified resource group.
692
+ #
693
+ # @param resource_group_name [String] The name of the Resource Group to which
694
+ # the vault belongs.
695
+ # @param top [Integer] Maximum number of results to return.
696
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
697
+ # will be added to the HTTP request.
698
+ #
699
+ # @return [VaultListResult] which provide lazy access to pages of the response.
700
+ #
701
+ def list_by_resource_group_as_lazy(resource_group_name, top = nil, custom_headers = nil)
702
+ response = list_by_resource_group_async(resource_group_name, top, custom_headers).value!
703
+ unless response.nil?
704
+ page = response.body
705
+ page.next_method = Proc.new do |next_page_link|
706
+ list_by_resource_group_next_async(next_page_link, custom_headers)
707
+ end
708
+ page
709
+ end
710
+ end
711
+
712
+ #
713
+ # The List operation gets information about the vaults associated with the
714
+ # subscription.
715
+ #
716
+ # @param top [Integer] Maximum number of results to return.
717
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
718
+ # will be added to the HTTP request.
719
+ #
720
+ # @return [VaultListResult] which provide lazy access to pages of the response.
721
+ #
722
+ def list_as_lazy(top = nil, custom_headers = nil)
723
+ response = list_async(top, custom_headers).value!
724
+ unless response.nil?
725
+ page = response.body
726
+ page.next_method = Proc.new do |next_page_link|
727
+ list_next_async(next_page_link, custom_headers)
728
+ end
729
+ page
730
+ end
731
+ end
732
+
733
733
  end
734
734
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::KeyVault
7
- VERSION = '0.7.0'
7
+ VERSION = '0.8.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.7.0
4
+ version: 0.8.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-10-14 00:00:00.000000000 Z
11
+ date: 2016-11-16 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.6.0
75
+ version: 0.6.2
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.6.0
82
+ version: 0.6.2
83
83
  description: Microsoft Azure Resource Management Key Vault Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []