Class: Azure::Storage::Profiles::Latest::Mgmt::Client

Inherits:
StorageManagementClass show all
Includes:
MsRestAzure::Common::Configurable
Defined in:
lib/profiles/latest/storage_latest_profile_client.rb

Overview

Client class for the Latest profile SDK.

Instance Attribute Summary

Attributes inherited from StorageManagementClass

#base_url, #blob_containers, #blob_inventory_policies, #blob_services, #configurable, #deleted_accounts, #encryption_scopes, #file_services, #file_shares, #management_policies, #model_classes, #object_replication_policies_operations, #operations, #options, #private_endpoint_connections, #private_link_resources, #queue, #queue_services, #skus, #storage_accounts, #table_operations, #table_services, #usages

Instance Method Summary collapse

Methods inherited from StorageManagementClass

#add_telemetry, #method_missing

Constructor Details

#initialize(options = {}) ⇒ Client

Initializes a new instance of the Client class.

'credentials' are optional and if not passed in the hash, will be obtained
from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.

Also, base_url, active_directory_settings & options are optional.

Parameters:

  • options (Hash) (defaults to: {})

    hash of client options. options =

    tenant_id: 'YOUR TENANT ID',
    client_id: 'YOUR CLIENT ID',
    client_secret: 'YOUR CLIENT SECRET',
    subscription_id: 'YOUR SUBSCRIPTION ID',
    credentials: credentials,
    active_directory_settings: active_directory_settings,
    base_url: 'YOUR BASE URL',
    options: options
    



34
35
36
# File 'lib/profiles/latest/storage_latest_profile_client.rb', line 34

def initialize(options = {})
  super(options)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Azure::Storage::Profiles::Latest::Mgmt::StorageManagementClass