C# 클래스 Microsoft.Azure.Commands.ResourceManager.Common.RMProfileClient

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

공개 프로퍼티들

프로퍼티 타입 설명
WarningLog Action

공개 메소드들

메소드 설명
AcquireAccessToken ( string tenantId ) : IAccessToken
AddOrSetEnvironment ( Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment ) : Microsoft.Azure.Common.Authentication.Models.AzureEnvironment
GetSubscriptions ( string tenantId ) : IEnumerable
ListEnvironments ( string name ) : List
ListSubscriptions ( ) : IEnumerable
ListSubscriptions ( string tenant, string &listNextLink ) : IEnumerable
ListTenants ( ) : IEnumerable

List all tenants for the account in the profile context

ListTenants ( string tenant ) : List
Login ( Microsoft.Azure.Common.Authentication.Models.AzureAccount account, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment, string tenantId, string subscriptionId, string subscriptionName, SecureString password ) : Microsoft.Azure.Common.Authentication.Models.AzureRMProfile
RMProfileClient ( Microsoft.Azure.Common.Authentication.Models.AzureRMProfile profile ) : Hyak.Common
RemoveEnvironment ( string name ) : Microsoft.Azure.Common.Authentication.Models.AzureEnvironment
SetCurrentContext ( string tenantId ) : Microsoft.Azure.Common.Authentication.Models.AzureContext
SetCurrentContext ( string subscriptionId, string subscriptionName, string tenantId ) : Microsoft.Azure.Common.Authentication.Models.AzureContext
TryGetSubscriptionById ( string tenantId, string subscriptionId, Microsoft.Azure.Common.Authentication.Models.AzureSubscription &subscription ) : bool
TryGetSubscriptionByName ( string tenantId, string subscriptionName, Microsoft.Azure.Common.Authentication.Models.AzureSubscription &subscription ) : bool

비공개 메소드들

메소드 설명
AcquireAccessToken ( Microsoft.Azure.Common.Authentication.Models.AzureAccount account, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment, string tenantId, SecureString password, ShowDialog promptBehavior ) : IAccessToken
CreateTenant ( string tenantIdOrDomain ) : Microsoft.Azure.Common.Authentication.Models.AzureTenant
CreateTenantFromString ( string tenantOrDomain, string accessTokenTenantId ) : Microsoft.Azure.Common.Authentication.Models.AzureTenant
GetFirstSubscription ( string tenantId ) : Microsoft.Azure.Common.Authentication.Models.AzureSubscription
ListAccountTenants ( Microsoft.Azure.Common.Authentication.Models.AzureAccount account, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment, SecureString password, ShowDialog promptBehavior ) : List
ListSubscriptionsForTenant ( Microsoft.Azure.Common.Authentication.Models.AzureAccount account, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment, SecureString password, ShowDialog promptBehavior, string tenantId, string &listNextLink ) : IEnumerable
MergeEnvironmentProperties ( Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment1, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment2 ) : Microsoft.Azure.Common.Authentication.Models.AzureEnvironment
SwitchSubscription ( Microsoft.Azure.Common.Authentication.Models.AzureSubscription subscription ) : void
TryGetTenantSubscription ( IAccessToken accessToken, Microsoft.Azure.Common.Authentication.Models.AzureAccount account, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment, string tenantId, string subscriptionId, string subscriptionName, Microsoft.Azure.Common.Authentication.Models.AzureSubscription &subscription, Microsoft.Azure.Common.Authentication.Models.AzureTenant &tenant ) : bool
WriteWarningMessage ( string message ) : void

메소드 상세

AcquireAccessToken() 공개 메소드

public AcquireAccessToken ( string tenantId ) : IAccessToken
tenantId string
리턴 IAccessToken

AddOrSetEnvironment() 공개 메소드

public AddOrSetEnvironment ( Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment ) : Microsoft.Azure.Common.Authentication.Models.AzureEnvironment
environment Microsoft.Azure.Common.Authentication.Models.AzureEnvironment
리턴 Microsoft.Azure.Common.Authentication.Models.AzureEnvironment

GetSubscriptions() 공개 메소드

public GetSubscriptions ( string tenantId ) : IEnumerable
tenantId string
리턴 IEnumerable

ListEnvironments() 공개 메소드

public ListEnvironments ( string name ) : List
name string
리턴 List

ListSubscriptions() 공개 메소드

public ListSubscriptions ( ) : IEnumerable
리턴 IEnumerable

ListSubscriptions() 공개 메소드

public ListSubscriptions ( string tenant, string &listNextLink ) : IEnumerable
tenant string
listNextLink string
리턴 IEnumerable

ListTenants() 공개 메소드

List all tenants for the account in the profile context
public ListTenants ( ) : IEnumerable
리턴 IEnumerable

ListTenants() 공개 메소드

public ListTenants ( string tenant ) : List
tenant string
리턴 List

Login() 공개 메소드

public Login ( Microsoft.Azure.Common.Authentication.Models.AzureAccount account, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment, string tenantId, string subscriptionId, string subscriptionName, SecureString password ) : Microsoft.Azure.Common.Authentication.Models.AzureRMProfile
account Microsoft.Azure.Common.Authentication.Models.AzureAccount
environment Microsoft.Azure.Common.Authentication.Models.AzureEnvironment
tenantId string
subscriptionId string
subscriptionName string
password System.Security.SecureString
리턴 Microsoft.Azure.Common.Authentication.Models.AzureRMProfile

RMProfileClient() 공개 메소드

public RMProfileClient ( Microsoft.Azure.Common.Authentication.Models.AzureRMProfile profile ) : Hyak.Common
profile Microsoft.Azure.Common.Authentication.Models.AzureRMProfile
리턴 Hyak.Common

RemoveEnvironment() 공개 메소드

public RemoveEnvironment ( string name ) : Microsoft.Azure.Common.Authentication.Models.AzureEnvironment
name string
리턴 Microsoft.Azure.Common.Authentication.Models.AzureEnvironment

SetCurrentContext() 공개 메소드

public SetCurrentContext ( string tenantId ) : Microsoft.Azure.Common.Authentication.Models.AzureContext
tenantId string
리턴 Microsoft.Azure.Common.Authentication.Models.AzureContext

SetCurrentContext() 공개 메소드

public SetCurrentContext ( string subscriptionId, string subscriptionName, string tenantId ) : Microsoft.Azure.Common.Authentication.Models.AzureContext
subscriptionId string
subscriptionName string
tenantId string
리턴 Microsoft.Azure.Common.Authentication.Models.AzureContext

TryGetSubscriptionById() 공개 메소드

public TryGetSubscriptionById ( string tenantId, string subscriptionId, Microsoft.Azure.Common.Authentication.Models.AzureSubscription &subscription ) : bool
tenantId string
subscriptionId string
subscription Microsoft.Azure.Common.Authentication.Models.AzureSubscription
리턴 bool

TryGetSubscriptionByName() 공개 메소드

public TryGetSubscriptionByName ( string tenantId, string subscriptionName, Microsoft.Azure.Common.Authentication.Models.AzureSubscription &subscription ) : bool
tenantId string
subscriptionName string
subscription Microsoft.Azure.Common.Authentication.Models.AzureSubscription
리턴 bool

프로퍼티 상세

WarningLog 공개적으로 프로퍼티

public Action WarningLog
리턴 Action