azure_mgmt_recovery_services 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_recovery_services.rb +12 -11
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_display.rb +4 -8
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb +4 -7
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_properties.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb +2 -2
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_response.rb +2 -4
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb +9 -12
- data/lib/generated/azure_mgmt_recovery_services/operations.rb +8 -19
- data/lib/generated/azure_mgmt_recovery_services/version.rb +1 -1
- metadata +5 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 8b29e52d690ef8f7b3d86c5dbf41979221629e74
         | 
| 4 | 
            +
              data.tar.gz: 04203f2b92bc3d3595d42ca5d07376d63a893a7a
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: b0ba9dc11cfcc09de87af57975441cda11bcd2fc30f02ed04de1b7f9dd80a0f65faf778699cc6e8cf2f4f88a7988a395f1a44d5333a8e61bb7ba08e50764d222
         | 
| 7 | 
            +
              data.tar.gz: b7f64957e806e7887e170ecd9eccd54b7c45ef84098ebf49741b0a9fb2de18b80f3fe587cca12d92c5c51469d06ad6b95a8aa7fafdcd648f70d7b9b14acecb6d
         | 
| @@ -33,26 +33,27 @@ module Azure::ARM::RecoveryServices | |
| 33 33 |  | 
| 34 34 | 
             
              module Models
         | 
| 35 35 | 
             
                autoload :VaultCertificateResponse,                           'generated/azure_mgmt_recovery_services/models/vault_certificate_response.rb'
         | 
| 36 | 
            +
                autoload :JobsSummary,                                        'generated/azure_mgmt_recovery_services/models/jobs_summary.rb'
         | 
| 36 37 | 
             
                autoload :VaultList,                                          'generated/azure_mgmt_recovery_services/models/vault_list.rb'
         | 
| 37 | 
            -
                autoload :ClientDiscoveryResponse,                            'generated/azure_mgmt_recovery_services/models/client_discovery_response.rb'
         | 
| 38 | 
            -
                autoload :Sku,                                                'generated/azure_mgmt_recovery_services/models/sku.rb'
         | 
| 39 38 | 
             
                autoload :ResourceCertificateDetails,                         'generated/azure_mgmt_recovery_services/models/resource_certificate_details.rb'
         | 
| 40 | 
            -
                autoload : | 
| 39 | 
            +
                autoload :Sku,                                                'generated/azure_mgmt_recovery_services/models/sku.rb'
         | 
| 40 | 
            +
                autoload :UpgradeDetails,                                     'generated/azure_mgmt_recovery_services/models/upgrade_details.rb'
         | 
| 41 41 | 
             
                autoload :ClientDiscoveryValueForSingleApi,                   'generated/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb'
         | 
| 42 | 
            -
                autoload :NameInfo,                                           'generated/azure_mgmt_recovery_services/models/name_info.rb'
         | 
| 43 | 
            -
                autoload :JobsSummary,                                        'generated/azure_mgmt_recovery_services/models/jobs_summary.rb'
         | 
| 44 | 
            -
                autoload :RawCertificateData,                                 'generated/azure_mgmt_recovery_services/models/raw_certificate_data.rb'
         | 
| 45 | 
            -
                autoload :MonitoringSummary,                                  'generated/azure_mgmt_recovery_services/models/monitoring_summary.rb'
         | 
| 46 42 | 
             
                autoload :VaultUsageList,                                     'generated/azure_mgmt_recovery_services/models/vault_usage_list.rb'
         | 
| 43 | 
            +
                autoload :ClientDiscoveryResponse,                            'generated/azure_mgmt_recovery_services/models/client_discovery_response.rb'
         | 
| 44 | 
            +
                autoload :Resource,                                           'generated/azure_mgmt_recovery_services/models/resource.rb'
         | 
| 45 | 
            +
                autoload :MonitoringSummary,                                  'generated/azure_mgmt_recovery_services/models/monitoring_summary.rb'
         | 
| 46 | 
            +
                autoload :CertificateRequest,                                 'generated/azure_mgmt_recovery_services/models/certificate_request.rb'
         | 
| 47 47 | 
             
                autoload :ReplicationUsage,                                   'generated/azure_mgmt_recovery_services/models/replication_usage.rb'
         | 
| 48 | 
            -
                autoload :VaultUsage,                                         'generated/azure_mgmt_recovery_services/models/vault_usage.rb'
         | 
| 49 48 | 
             
                autoload :ReplicationUsageList,                               'generated/azure_mgmt_recovery_services/models/replication_usage_list.rb'
         | 
| 50 | 
            -
                autoload : | 
| 49 | 
            +
                autoload :VaultUsage,                                         'generated/azure_mgmt_recovery_services/models/vault_usage.rb'
         | 
| 51 50 | 
             
                autoload :ClientDiscoveryDisplay,                             'generated/azure_mgmt_recovery_services/models/client_discovery_display.rb'
         | 
| 52 | 
            -
                autoload : | 
| 51 | 
            +
                autoload :NameInfo,                                           'generated/azure_mgmt_recovery_services/models/name_info.rb'
         | 
| 53 52 | 
             
                autoload :ClientDiscoveryForLogSpecification,                 'generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb'
         | 
| 54 | 
            -
                autoload : | 
| 53 | 
            +
                autoload :RawCertificateData,                                 'generated/azure_mgmt_recovery_services/models/raw_certificate_data.rb'
         | 
| 55 54 | 
             
                autoload :ClientDiscoveryForServiceSpecification,             'generated/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb'
         | 
| 55 | 
            +
                autoload :VaultProperties,                                    'generated/azure_mgmt_recovery_services/models/vault_properties.rb'
         | 
| 56 | 
            +
                autoload :ClientDiscoveryForProperties,                       'generated/azure_mgmt_recovery_services/models/client_discovery_for_properties.rb'
         | 
| 56 57 | 
             
                autoload :BackupStorageConfig,                                'generated/azure_mgmt_recovery_services/models/backup_storage_config.rb'
         | 
| 57 58 | 
             
                autoload :BackupVaultConfig,                                  'generated/azure_mgmt_recovery_services/models/backup_vault_config.rb'
         | 
| 58 59 | 
             
                autoload :VaultExtendedInfoResource,                          'generated/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb'
         | 
| @@ -13,16 +13,16 @@ module Azure::ARM::RecoveryServices | |
| 13 13 | 
             
                  include MsRestAzure
         | 
| 14 14 |  | 
| 15 15 | 
             
                  include MsRest::JSONable
         | 
| 16 | 
            -
                  # @return [String] Name of the  | 
| 16 | 
            +
                  # @return [String] Name of the provider for display purposes
         | 
| 17 17 | 
             
                  attr_accessor :provider
         | 
| 18 18 |  | 
| 19 | 
            -
                  # @return [String]  | 
| 19 | 
            +
                  # @return [String] Name of the resource type for display purposes
         | 
| 20 20 | 
             
                  attr_accessor :resource
         | 
| 21 21 |  | 
| 22 | 
            -
                  # @return [String] Name of the operation | 
| 22 | 
            +
                  # @return [String] Name of the operation for display purposes
         | 
| 23 23 | 
             
                  attr_accessor :operation
         | 
| 24 24 |  | 
| 25 | 
            -
                  # @return [String]  | 
| 25 | 
            +
                  # @return [String] Description of the operation for display purposes
         | 
| 26 26 | 
             
                  attr_accessor :description
         | 
| 27 27 |  | 
| 28 28 |  | 
| @@ -40,7 +40,6 @@ module Azure::ARM::RecoveryServices | |
| 40 40 | 
             
                        model_properties: {
         | 
| 41 41 | 
             
                          provider: {
         | 
| 42 42 | 
             
                            required: false,
         | 
| 43 | 
            -
                            read_only: true,
         | 
| 44 43 | 
             
                            serialized_name: 'Provider',
         | 
| 45 44 | 
             
                            type: {
         | 
| 46 45 | 
             
                              name: 'String'
         | 
| @@ -48,7 +47,6 @@ module Azure::ARM::RecoveryServices | |
| 48 47 | 
             
                          },
         | 
| 49 48 | 
             
                          resource: {
         | 
| 50 49 | 
             
                            required: false,
         | 
| 51 | 
            -
                            read_only: true,
         | 
| 52 50 | 
             
                            serialized_name: 'Resource',
         | 
| 53 51 | 
             
                            type: {
         | 
| 54 52 | 
             
                              name: 'String'
         | 
| @@ -56,7 +54,6 @@ module Azure::ARM::RecoveryServices | |
| 56 54 | 
             
                          },
         | 
| 57 55 | 
             
                          operation: {
         | 
| 58 56 | 
             
                            required: false,
         | 
| 59 | 
            -
                            read_only: true,
         | 
| 60 57 | 
             
                            serialized_name: 'Operation',
         | 
| 61 58 | 
             
                            type: {
         | 
| 62 59 | 
             
                              name: 'String'
         | 
| @@ -64,7 +61,6 @@ module Azure::ARM::RecoveryServices | |
| 64 61 | 
             
                          },
         | 
| 65 62 | 
             
                          description: {
         | 
| 66 63 | 
             
                            required: false,
         | 
| 67 | 
            -
                            read_only: true,
         | 
| 68 64 | 
             
                            serialized_name: 'Description',
         | 
| 69 65 | 
             
                            type: {
         | 
| 70 66 | 
             
                              name: 'String'
         | 
    
        data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb
    CHANGED
    
    | @@ -6,7 +6,7 @@ | |
| 6 6 | 
             
            module Azure::ARM::RecoveryServices
         | 
| 7 7 | 
             
              module Models
         | 
| 8 8 | 
             
                #
         | 
| 9 | 
            -
                #  | 
| 9 | 
            +
                # Class to represent shoebox log specification in json client discovery.
         | 
| 10 10 | 
             
                #
         | 
| 11 11 | 
             
                class ClientDiscoveryForLogSpecification
         | 
| 12 12 |  | 
| @@ -16,10 +16,10 @@ module Azure::ARM::RecoveryServices | |
| 16 16 | 
             
                  # @return [String] Name of the log.
         | 
| 17 17 | 
             
                  attr_accessor :name
         | 
| 18 18 |  | 
| 19 | 
            -
                  # @return [String] Localized display name | 
| 19 | 
            +
                  # @return [String] Localized display name
         | 
| 20 20 | 
             
                  attr_accessor :display_name
         | 
| 21 21 |  | 
| 22 | 
            -
                  # @return [ | 
| 22 | 
            +
                  # @return [String] Blobs created in customer storage account per hour
         | 
| 23 23 | 
             
                  attr_accessor :blob_duration
         | 
| 24 24 |  | 
| 25 25 |  | 
| @@ -37,7 +37,6 @@ module Azure::ARM::RecoveryServices | |
| 37 37 | 
             
                        model_properties: {
         | 
| 38 38 | 
             
                          name: {
         | 
| 39 39 | 
             
                            required: false,
         | 
| 40 | 
            -
                            read_only: true,
         | 
| 41 40 | 
             
                            serialized_name: 'name',
         | 
| 42 41 | 
             
                            type: {
         | 
| 43 42 | 
             
                              name: 'String'
         | 
| @@ -45,7 +44,6 @@ module Azure::ARM::RecoveryServices | |
| 45 44 | 
             
                          },
         | 
| 46 45 | 
             
                          display_name: {
         | 
| 47 46 | 
             
                            required: false,
         | 
| 48 | 
            -
                            read_only: true,
         | 
| 49 47 | 
             
                            serialized_name: 'displayName',
         | 
| 50 48 | 
             
                            type: {
         | 
| 51 49 | 
             
                              name: 'String'
         | 
| @@ -53,10 +51,9 @@ module Azure::ARM::RecoveryServices | |
| 53 51 | 
             
                          },
         | 
| 54 52 | 
             
                          blob_duration: {
         | 
| 55 53 | 
             
                            required: false,
         | 
| 56 | 
            -
                            read_only: true,
         | 
| 57 54 | 
             
                            serialized_name: 'blobDuration',
         | 
| 58 55 | 
             
                            type: {
         | 
| 59 | 
            -
                              name: ' | 
| 56 | 
            +
                              name: 'String'
         | 
| 60 57 | 
             
                            }
         | 
| 61 58 | 
             
                          }
         | 
| 62 59 | 
             
                        }
         | 
| @@ -0,0 +1,46 @@ | |
| 1 | 
            +
            # encoding: utf-8
         | 
| 2 | 
            +
            # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
         | 
| 3 | 
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         | 
| 4 | 
            +
            # regenerated.
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            module Azure::ARM::RecoveryServices
         | 
| 7 | 
            +
              module Models
         | 
| 8 | 
            +
                #
         | 
| 9 | 
            +
                # Class to represent shoebox properties in json client discovery.
         | 
| 10 | 
            +
                #
         | 
| 11 | 
            +
                class ClientDiscoveryForProperties
         | 
| 12 | 
            +
             | 
| 13 | 
            +
                  include MsRestAzure
         | 
| 14 | 
            +
             | 
| 15 | 
            +
                  include MsRest::JSONable
         | 
| 16 | 
            +
                  # @return [ClientDiscoveryForServiceSpecification] Operation properties.
         | 
| 17 | 
            +
                  attr_accessor :service_specification
         | 
| 18 | 
            +
             | 
| 19 | 
            +
             | 
| 20 | 
            +
                  #
         | 
| 21 | 
            +
                  # Mapper for ClientDiscoveryForProperties class as Ruby Hash.
         | 
| 22 | 
            +
                  # This will be used for serialization/deserialization.
         | 
| 23 | 
            +
                  #
         | 
| 24 | 
            +
                  def self.mapper()
         | 
| 25 | 
            +
                    {
         | 
| 26 | 
            +
                      required: false,
         | 
| 27 | 
            +
                      serialized_name: 'ClientDiscoveryForProperties',
         | 
| 28 | 
            +
                      type: {
         | 
| 29 | 
            +
                        name: 'Composite',
         | 
| 30 | 
            +
                        class_name: 'ClientDiscoveryForProperties',
         | 
| 31 | 
            +
                        model_properties: {
         | 
| 32 | 
            +
                          service_specification: {
         | 
| 33 | 
            +
                            required: false,
         | 
| 34 | 
            +
                            serialized_name: 'serviceSpecification',
         | 
| 35 | 
            +
                            type: {
         | 
| 36 | 
            +
                              name: 'Composite',
         | 
| 37 | 
            +
                              class_name: 'ClientDiscoveryForServiceSpecification'
         | 
| 38 | 
            +
                            }
         | 
| 39 | 
            +
                          }
         | 
| 40 | 
            +
                        }
         | 
| 41 | 
            +
                      }
         | 
| 42 | 
            +
                    }
         | 
| 43 | 
            +
                  end
         | 
| 44 | 
            +
                end
         | 
| 45 | 
            +
              end
         | 
| 46 | 
            +
            end
         | 
    
        data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb
    CHANGED
    
    | @@ -6,7 +6,8 @@ | |
| 6 6 | 
             
            module Azure::ARM::RecoveryServices
         | 
| 7 7 | 
             
              module Models
         | 
| 8 8 | 
             
                #
         | 
| 9 | 
            -
                #  | 
| 9 | 
            +
                # Class to represent shoebox service specification in json client
         | 
| 10 | 
            +
                # discovery.
         | 
| 10 11 | 
             
                #
         | 
| 11 12 | 
             
                class ClientDiscoveryForServiceSpecification
         | 
| 12 13 |  | 
| @@ -32,7 +33,6 @@ module Azure::ARM::RecoveryServices | |
| 32 33 | 
             
                        model_properties: {
         | 
| 33 34 | 
             
                          log_specifications: {
         | 
| 34 35 | 
             
                            required: false,
         | 
| 35 | 
            -
                            read_only: true,
         | 
| 36 36 | 
             
                            serialized_name: 'logSpecifications',
         | 
| 37 37 | 
             
                            type: {
         | 
| 38 38 | 
             
                              name: 'Sequence',
         | 
| @@ -6,7 +6,7 @@ | |
| 6 6 | 
             
            module Azure::ARM::RecoveryServices
         | 
| 7 7 | 
             
              module Models
         | 
| 8 8 | 
             
                #
         | 
| 9 | 
            -
                # List of available  | 
| 9 | 
            +
                # Operations List response which contains list of available APIs.
         | 
| 10 10 | 
             
                #
         | 
| 11 11 | 
             
                class ClientDiscoveryResponse
         | 
| 12 12 |  | 
| @@ -17,7 +17,7 @@ module Azure::ARM::RecoveryServices | |
| 17 17 | 
             
                  # operationss.
         | 
| 18 18 | 
             
                  attr_accessor :value
         | 
| 19 19 |  | 
| 20 | 
            -
                  # @return [String] NextLink
         | 
| 20 | 
            +
                  # @return [String] NextLink of the Response.
         | 
| 21 21 | 
             
                  attr_accessor :next_link
         | 
| 22 22 |  | 
| 23 23 | 
             
                  # return [Proc] with next page method call.
         | 
| @@ -66,7 +66,6 @@ module Azure::ARM::RecoveryServices | |
| 66 66 | 
             
                        model_properties: {
         | 
| 67 67 | 
             
                          value: {
         | 
| 68 68 | 
             
                            required: false,
         | 
| 69 | 
            -
                            read_only: true,
         | 
| 70 69 | 
             
                            serialized_name: 'Value',
         | 
| 71 70 | 
             
                            type: {
         | 
| 72 71 | 
             
                              name: 'Sequence',
         | 
| @@ -82,7 +81,6 @@ module Azure::ARM::RecoveryServices | |
| 82 81 | 
             
                          },
         | 
| 83 82 | 
             
                          next_link: {
         | 
| 84 83 | 
             
                            required: false,
         | 
| 85 | 
            -
                            read_only: true,
         | 
| 86 84 | 
             
                            serialized_name: 'NextLink',
         | 
| 87 85 | 
             
                            type: {
         | 
| 88 86 | 
             
                              name: 'String'
         | 
    
        data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb
    CHANGED
    
    | @@ -13,18 +13,19 @@ module Azure::ARM::RecoveryServices | |
| 13 13 | 
             
                  include MsRestAzure
         | 
| 14 14 |  | 
| 15 15 | 
             
                  include MsRest::JSONable
         | 
| 16 | 
            -
                  # @return [String] Name of the operation | 
| 16 | 
            +
                  # @return [String] Name of the operation
         | 
| 17 17 | 
             
                  attr_accessor :name
         | 
| 18 18 |  | 
| 19 19 | 
             
                  # @return [ClientDiscoveryDisplay] Contains the localized display
         | 
| 20 | 
            -
                  # information for this particular operation | 
| 20 | 
            +
                  # information for this particular operation
         | 
| 21 21 | 
             
                  attr_accessor :display
         | 
| 22 22 |  | 
| 23 | 
            -
                  # @return [String] The intended executor of the operation | 
| 23 | 
            +
                  # @return [String] The intended executor of the operation;governs the
         | 
| 24 | 
            +
                  # display of the operation in the RBAC UX and the audit logs UX
         | 
| 24 25 | 
             
                  attr_accessor :origin
         | 
| 25 26 |  | 
| 26 | 
            -
                  # @return [ | 
| 27 | 
            -
                  attr_accessor : | 
| 27 | 
            +
                  # @return [ClientDiscoveryForProperties] Properties
         | 
| 28 | 
            +
                  attr_accessor :properties
         | 
| 28 29 |  | 
| 29 30 |  | 
| 30 31 | 
             
                  #
         | 
| @@ -41,7 +42,6 @@ module Azure::ARM::RecoveryServices | |
| 41 42 | 
             
                        model_properties: {
         | 
| 42 43 | 
             
                          name: {
         | 
| 43 44 | 
             
                            required: false,
         | 
| 44 | 
            -
                            read_only: true,
         | 
| 45 45 | 
             
                            serialized_name: 'Name',
         | 
| 46 46 | 
             
                            type: {
         | 
| 47 47 | 
             
                              name: 'String'
         | 
| @@ -49,7 +49,6 @@ module Azure::ARM::RecoveryServices | |
| 49 49 | 
             
                          },
         | 
| 50 50 | 
             
                          display: {
         | 
| 51 51 | 
             
                            required: false,
         | 
| 52 | 
            -
                            read_only: true,
         | 
| 53 52 | 
             
                            serialized_name: 'Display',
         | 
| 54 53 | 
             
                            type: {
         | 
| 55 54 | 
             
                              name: 'Composite',
         | 
| @@ -58,19 +57,17 @@ module Azure::ARM::RecoveryServices | |
| 58 57 | 
             
                          },
         | 
| 59 58 | 
             
                          origin: {
         | 
| 60 59 | 
             
                            required: false,
         | 
| 61 | 
            -
                            read_only: true,
         | 
| 62 60 | 
             
                            serialized_name: 'Origin',
         | 
| 63 61 | 
             
                            type: {
         | 
| 64 62 | 
             
                              name: 'String'
         | 
| 65 63 | 
             
                            }
         | 
| 66 64 | 
             
                          },
         | 
| 67 | 
            -
                           | 
| 65 | 
            +
                          properties: {
         | 
| 68 66 | 
             
                            required: false,
         | 
| 69 | 
            -
                             | 
| 70 | 
            -
                            serialized_name: 'Properties.serviceSpecification',
         | 
| 67 | 
            +
                            serialized_name: 'Properties',
         | 
| 71 68 | 
             
                            type: {
         | 
| 72 69 | 
             
                              name: 'Composite',
         | 
| 73 | 
            -
                              class_name: ' | 
| 70 | 
            +
                              class_name: 'ClientDiscoveryForProperties'
         | 
| 74 71 | 
             
                            }
         | 
| 75 72 | 
             
                          }
         | 
| 76 73 | 
             
                        }
         | 
| @@ -24,46 +24,38 @@ module Azure::ARM::RecoveryServices | |
| 24 24 | 
             
                #
         | 
| 25 25 | 
             
                # Returns the list of available operations.
         | 
| 26 26 | 
             
                #
         | 
| 27 | 
            -
                # @param resource_group_name [String] The name of the resource group where the
         | 
| 28 | 
            -
                # recovery services vault is present.
         | 
| 29 27 | 
             
                # @param custom_headers [Hash{String => String}] A hash of custom headers that
         | 
| 30 28 | 
             
                # will be added to the HTTP request.
         | 
| 31 29 | 
             
                #
         | 
| 32 30 | 
             
                # @return [Array<ClientDiscoveryValueForSingleApi>] operation results.
         | 
| 33 31 | 
             
                #
         | 
| 34 | 
            -
                def list( | 
| 35 | 
            -
                  first_page = list_as_lazy( | 
| 32 | 
            +
                def list(custom_headers = nil)
         | 
| 33 | 
            +
                  first_page = list_as_lazy(custom_headers)
         | 
| 36 34 | 
             
                  first_page.get_all_items
         | 
| 37 35 | 
             
                end
         | 
| 38 36 |  | 
| 39 37 | 
             
                #
         | 
| 40 38 | 
             
                # Returns the list of available operations.
         | 
| 41 39 | 
             
                #
         | 
| 42 | 
            -
                # @param resource_group_name [String] The name of the resource group where the
         | 
| 43 | 
            -
                # recovery services vault is present.
         | 
| 44 40 | 
             
                # @param custom_headers [Hash{String => String}] A hash of custom headers that
         | 
| 45 41 | 
             
                # will be added to the HTTP request.
         | 
| 46 42 | 
             
                #
         | 
| 47 43 | 
             
                # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
         | 
| 48 44 | 
             
                #
         | 
| 49 | 
            -
                def list_with_http_info( | 
| 50 | 
            -
                  list_async( | 
| 45 | 
            +
                def list_with_http_info(custom_headers = nil)
         | 
| 46 | 
            +
                  list_async(custom_headers).value!
         | 
| 51 47 | 
             
                end
         | 
| 52 48 |  | 
| 53 49 | 
             
                #
         | 
| 54 50 | 
             
                # Returns the list of available operations.
         | 
| 55 51 | 
             
                #
         | 
| 56 | 
            -
                # @param resource_group_name [String] The name of the resource group where the
         | 
| 57 | 
            -
                # recovery services vault is present.
         | 
| 58 52 | 
             
                # @param [Hash{String => String}] A hash of custom headers that will be added
         | 
| 59 53 | 
             
                # to the HTTP request.
         | 
| 60 54 | 
             
                #
         | 
| 61 55 | 
             
                # @return [Concurrent::Promise] Promise object which holds the HTTP response.
         | 
| 62 56 | 
             
                #
         | 
| 63 | 
            -
                def list_async( | 
| 64 | 
            -
                  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
         | 
| 57 | 
            +
                def list_async(custom_headers = nil)
         | 
| 65 58 | 
             
                  api_version = '2016-06-01'
         | 
| 66 | 
            -
                  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
         | 
| 67 59 |  | 
| 68 60 |  | 
| 69 61 | 
             
                  request_headers = {}
         | 
| @@ -71,13 +63,12 @@ module Azure::ARM::RecoveryServices | |
| 71 63 | 
             
                  # Set Headers
         | 
| 72 64 | 
             
                  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
         | 
| 73 65 | 
             
                  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
         | 
| 74 | 
            -
                  path_template = ' | 
| 66 | 
            +
                  path_template = 'providers/Microsoft.RecoveryServices/operations'
         | 
| 75 67 |  | 
| 76 68 | 
             
                  request_url = @base_url || @client.base_url
         | 
| 77 69 |  | 
| 78 70 | 
             
                  options = {
         | 
| 79 71 | 
             
                      middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
         | 
| 80 | 
            -
                      path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name},
         | 
| 81 72 | 
             
                      query_params: {'api-version' => api_version},
         | 
| 82 73 | 
             
                      headers: request_headers.merge(custom_headers || {}),
         | 
| 83 74 | 
             
                      base_url: request_url
         | 
| @@ -201,16 +192,14 @@ module Azure::ARM::RecoveryServices | |
| 201 192 | 
             
                #
         | 
| 202 193 | 
             
                # Returns the list of available operations.
         | 
| 203 194 | 
             
                #
         | 
| 204 | 
            -
                # @param resource_group_name [String] The name of the resource group where the
         | 
| 205 | 
            -
                # recovery services vault is present.
         | 
| 206 195 | 
             
                # @param custom_headers [Hash{String => String}] A hash of custom headers that
         | 
| 207 196 | 
             
                # will be added to the HTTP request.
         | 
| 208 197 | 
             
                #
         | 
| 209 198 | 
             
                # @return [ClientDiscoveryResponse] which provide lazy access to pages of the
         | 
| 210 199 | 
             
                # response.
         | 
| 211 200 | 
             
                #
         | 
| 212 | 
            -
                def list_as_lazy( | 
| 213 | 
            -
                  response = list_async( | 
| 201 | 
            +
                def list_as_lazy(custom_headers = nil)
         | 
| 202 | 
            +
                  response = list_async(custom_headers).value!
         | 
| 214 203 | 
             
                  unless response.nil?
         | 
| 215 204 | 
             
                    page = response.body
         | 
| 216 205 | 
             
                    page.next_method = Proc.new do |next_page_link|
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: azure_mgmt_recovery_services
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.12.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- | 
| 11 | 
            +
            date: 2017-09-12 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. | 
| 75 | 
            +
                    version: 0.9.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. | 
| 82 | 
            +
                    version: 0.9.0
         | 
| 83 83 | 
             
            description: Microsoft Azure Recovery Services Library for Ruby
         | 
| 84 84 | 
             
            email: azrubyteam@microsoft.com
         | 
| 85 85 | 
             
            executables: []
         | 
| @@ -97,6 +97,7 @@ files: | |
| 97 97 | 
             
            - lib/generated/azure_mgmt_recovery_services/models/certificate_request.rb
         | 
| 98 98 | 
             
            - lib/generated/azure_mgmt_recovery_services/models/client_discovery_display.rb
         | 
| 99 99 | 
             
            - lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb
         | 
| 100 | 
            +
            - lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_properties.rb
         | 
| 100 101 | 
             
            - lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb
         | 
| 101 102 | 
             
            - lib/generated/azure_mgmt_recovery_services/models/client_discovery_response.rb
         | 
| 102 103 | 
             
            - lib/generated/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb
         |