C# 클래스 Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementHelper

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

공개 메소드들

메소드 설명
GetApiManagementClient ( ) : ApiManagementClient
GetLocations ( this managementClient ) : IEnumerable
GetManagementClient ( ) : Microsoft.WindowsAzure.Management.ManagementClient
GetResourceGroups ( this resourceManagementClient ) : IEnumerable
GetResourceManagementClient ( ) : Microsoft.Azure.Management.Resources.ResourceManagementClient
ToStream ( this doc ) : Stream
TryCreateApiService ( this client, string resourceGroupName, string apiServiceName, string location, SkuType skuType = SkuType.Developer ) : void
TryGetLocation ( this managementClient, string preferedLocationName = null ) : string
TryGetResourceGroup ( this resourceManagementClient, string location ) : string
TryRegisterResourceGroup ( this resourceManagementClient, string location, string resourceGroupName ) : void
TryRegisterSubscriptionForResource ( this resourceManagementClient, string providerName = "Microsoft.ApiManagement" ) : void

비공개 메소드들

메소드 설명
ThrowIfTrue ( bool condition, string message ) : void

메소드 상세

GetApiManagementClient() 공개 정적인 메소드

public static GetApiManagementClient ( ) : ApiManagementClient
리턴 ApiManagementClient

GetLocations() 공개 정적인 메소드

public static GetLocations ( this managementClient ) : IEnumerable
managementClient this
리턴 IEnumerable

GetManagementClient() 공개 정적인 메소드

public static GetManagementClient ( ) : Microsoft.WindowsAzure.Management.ManagementClient
리턴 Microsoft.WindowsAzure.Management.ManagementClient

GetResourceGroups() 공개 정적인 메소드

public static GetResourceGroups ( this resourceManagementClient ) : IEnumerable
resourceManagementClient this
리턴 IEnumerable

GetResourceManagementClient() 공개 정적인 메소드

public static GetResourceManagementClient ( ) : Microsoft.Azure.Management.Resources.ResourceManagementClient
리턴 Microsoft.Azure.Management.Resources.ResourceManagementClient

ToStream() 공개 정적인 메소드

public static ToStream ( this doc ) : Stream
doc this
리턴 Stream

TryCreateApiService() 공개 정적인 메소드

public static TryCreateApiService ( this client, string resourceGroupName, string apiServiceName, string location, SkuType skuType = SkuType.Developer ) : void
client this
resourceGroupName string
apiServiceName string
location string
skuType SkuType
리턴 void

TryGetLocation() 공개 정적인 메소드

public static TryGetLocation ( this managementClient, string preferedLocationName = null ) : string
managementClient this
preferedLocationName string
리턴 string

TryGetResourceGroup() 공개 정적인 메소드

public static TryGetResourceGroup ( this resourceManagementClient, string location ) : string
resourceManagementClient this
location string
리턴 string

TryRegisterResourceGroup() 공개 정적인 메소드

public static TryRegisterResourceGroup ( this resourceManagementClient, string location, string resourceGroupName ) : void
resourceManagementClient this
location string
resourceGroupName string
리턴 void

TryRegisterSubscriptionForResource() 공개 정적인 메소드

public static TryRegisterSubscriptionForResource ( this resourceManagementClient, string providerName = "Microsoft.ApiManagement" ) : void
resourceManagementClient this
providerName string
리턴 void