Свойство | Тип | Описание | |
---|---|---|---|
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, |
||
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, |
||
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, |
||
ListSubscriptionsForTenant ( Microsoft.Azure.Common.Authentication.Models.AzureAccount account, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment, |
||
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 |
public AcquireAccessToken ( string tenantId ) : IAccessToken | ||
tenantId | string | |
Результат | IAccessToken |
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 |
public GetSubscriptions ( string tenantId ) : IEnumerable |
||
tenantId | string | |
Результат | IEnumerable |
public ListEnvironments ( string name ) : List |
||
name | string | |
Результат | List |
public ListSubscriptions ( ) : IEnumerable |
||
Результат | IEnumerable |
public ListSubscriptions ( string tenant, string &listNextLink ) : IEnumerable |
||
tenant | string | |
listNextLink | string | |
Результат | IEnumerable |
public ListTenants ( string tenant ) : List |
||
tenant | string | |
Результат | List |
public Login ( Microsoft.Azure.Common.Authentication.Models.AzureAccount account, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment environment, string tenantId, string subscriptionId, string subscriptionName, |
||
account | Microsoft.Azure.Common.Authentication.Models.AzureAccount | |
environment | Microsoft.Azure.Common.Authentication.Models.AzureEnvironment | |
tenantId | string | |
subscriptionId | string | |
subscriptionName | string | |
password | ||
Результат | Microsoft.Azure.Common.Authentication.Models.AzureRMProfile |
public RMProfileClient ( Microsoft.Azure.Common.Authentication.Models.AzureRMProfile profile ) : Hyak.Common | ||
profile | Microsoft.Azure.Common.Authentication.Models.AzureRMProfile | |
Результат | Hyak.Common |
public RemoveEnvironment ( string name ) : Microsoft.Azure.Common.Authentication.Models.AzureEnvironment | ||
name | string | |
Результат | Microsoft.Azure.Common.Authentication.Models.AzureEnvironment |
public SetCurrentContext ( string tenantId ) : Microsoft.Azure.Common.Authentication.Models.AzureContext | ||
tenantId | string | |
Результат | Microsoft.Azure.Common.Authentication.Models.AzureContext |
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 |
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 |
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 |