C# 클래스 Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment

파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

공개 메소드들

메소드 설명
AzureEnvironment ( ) : System
GetEndpoint ( AzureEnvironment endpoint ) : string
GetEndpointAsUri ( AzureEnvironment endpoint ) : Uri
GetEndpointSuffix ( AzureEnvironment endpointSuffix ) : string
GetManagementPortalUrlWithRealm ( string realm = null ) : string

Gets the management portal URI with a particular realm suffix if supplied

GetPublishSettingsFileUrlWithRealm ( string realm = null ) : string

Get the publish settings file download url with a realm suffix if needed.

GetStorageBlobEndpoint ( string accountName, bool useHttps = true ) : Uri

Gets the endpoint for storage blob.

GetStorageFileEndpoint ( string accountName, bool useHttps = true ) : Uri

Gets the endpoint for storage file.

GetStorageQueueEndpoint ( string accountName, bool useHttps = true ) : Uri

Gets the endpoint for storage queue.

GetStorageTableEndpoint ( string accountName, bool useHttps = true ) : Uri

Gets the endpoint for storage table.

GetTokenAudience ( AzureEnvironment targetEndpoint ) : AzureEnvironment.Endpoint
IsEndpointSet ( AzureEnvironment endpoint ) : bool
IsEndpointSetToValue ( AzureEnvironment endpoint, string url ) : bool

비공개 메소드들

메소드 설명
EndpointFormatFor ( string service ) : string
StorageBlobEndpointFormat ( ) : string

The storage service blob endpoint format.

StorageFileEndpointFormat ( ) : string

The storage service file endpoint format.

StorageQueueEndpointFormat ( ) : string

The storage service queue endpoint format.

StorageTableEndpointFormat ( ) : string

The storage service table endpoint format.

메소드 상세

AzureEnvironment() 공개 메소드

public AzureEnvironment ( ) : System
리턴 System

GetEndpoint() 공개 메소드

public GetEndpoint ( AzureEnvironment endpoint ) : string
endpoint AzureEnvironment
리턴 string

GetEndpointAsUri() 공개 메소드

public GetEndpointAsUri ( AzureEnvironment endpoint ) : Uri
endpoint AzureEnvironment
리턴 System.Uri

GetEndpointSuffix() 공개 메소드

public GetEndpointSuffix ( AzureEnvironment endpointSuffix ) : string
endpointSuffix AzureEnvironment
리턴 string

GetManagementPortalUrlWithRealm() 공개 메소드

Gets the management portal URI with a particular realm suffix if supplied
public GetManagementPortalUrlWithRealm ( string realm = null ) : string
realm string Realm for user's account
리턴 string

GetPublishSettingsFileUrlWithRealm() 공개 메소드

Get the publish settings file download url with a realm suffix if needed.
public GetPublishSettingsFileUrlWithRealm ( string realm = null ) : string
realm string Realm for user's account
리턴 string

GetStorageBlobEndpoint() 공개 메소드

Gets the endpoint for storage blob.
public GetStorageBlobEndpoint ( string accountName, bool useHttps = true ) : Uri
accountName string The account name
useHttps bool Use Https when creating the URI. Defaults to true.
리턴 System.Uri

GetStorageFileEndpoint() 공개 메소드

Gets the endpoint for storage file.
public GetStorageFileEndpoint ( string accountName, bool useHttps = true ) : Uri
accountName string The account name
useHttps bool Use Https when creating the URI. Defaults to true.
리턴 System.Uri

GetStorageQueueEndpoint() 공개 메소드

Gets the endpoint for storage queue.
public GetStorageQueueEndpoint ( string accountName, bool useHttps = true ) : Uri
accountName string The account name
useHttps bool Use Https when creating the URI. Defaults to true.
리턴 System.Uri

GetStorageTableEndpoint() 공개 메소드

Gets the endpoint for storage table.
public GetStorageTableEndpoint ( string accountName, bool useHttps = true ) : Uri
accountName string The account name
useHttps bool Use Https when creating the URI. Defaults to true.
리턴 System.Uri

GetTokenAudience() 공개 메소드

public GetTokenAudience ( AzureEnvironment targetEndpoint ) : AzureEnvironment.Endpoint
targetEndpoint AzureEnvironment
리턴 AzureEnvironment.Endpoint

IsEndpointSet() 공개 메소드

public IsEndpointSet ( AzureEnvironment endpoint ) : bool
endpoint AzureEnvironment
리턴 bool

IsEndpointSetToValue() 공개 메소드

public IsEndpointSetToValue ( AzureEnvironment endpoint, string url ) : bool
endpoint AzureEnvironment
url string
리턴 bool