lib/kitchen/driver/credentials.rb
def endpoint_settings_for_azure_environment(azure_environment)
        case azure_environment.downcase
        when "azureusgovernment"
          ::MsRestAzure::AzureEnvironments::AzureUSGovernment
        when "azurechina"
          ::MsRestAzure::AzureEnvironments::AzureChinaCloud
        when "azuregermancloud"
          ::MsRestAzure::AzureEnvironments::AzureGermanCloud
        when "azure"
          ::MsRestAzure::AzureEnvironments::AzureCloud
        end
      end
#
# Retrieves a [MsRestAzure::AzureEnvironment] object representing endpoint settings for the given cloud.
# @param azure_environment [String] The Azure environment to retrieve settings for.
#
# @return [MsRestAzure::AzureEnvironment] Settings to be used for subsequent requests
#
Retrieves a [MsRestAzure::AzureEnvironment] object representing endpoint settings for the given cloud.
Retrieves a [ MsRestAzure :: AzureEnvironment ] object representing endpoint settings for the given cloud .
def endpoint_settings_for_azure_environment(azure_environment)
        case azure_environment.downcase
        when "azureusgovernment"
          ::MsRestAzure::AzureEnvironments::AzureUSGovernment
        when "azurechina"
          ::MsRestAzure::AzureEnvironments::AzureChinaCloud
        when "azuregermancloud"
          ::MsRestAzure::AzureEnvironments::AzureGermanCloud
        when "azure"
          ::MsRestAzure::AzureEnvironments::AzureCloud
        end
      end
def endpoint_settings_for_azure_environment ( azure_environment ) case azure_environment . downcase when "azureusgovernment" :: MsRestAzure :: AzureEnvironments :: AzureUSGovernment when "azurechina" :: MsRestAzure :: AzureEnvironments :: AzureChinaCloud when "azuregermancloud" :: MsRestAzure :: AzureEnvironments :: AzureGermanCloud when "azure" :: MsRestAzure :: AzureEnvironments :: AzureCloud end end
Retrieves a [MsRestAzure::AzureEnvironment] object representing endpoint settings for the given cloud.
Retrieves a [ MsRestAzure :: AzureEnvironment ] object representing endpoint settings for the given cloud .
Settings to be used for subsequent requests
Settings to be used for subsequent requests
MsRestAzure::AzureEnvironment
azure_environment
The Azure environment to retrieve settings for.
The Azure environment to retrieve settings for .