C# 클래스 Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkClient.ResourceManagerSdkClient

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

공개 프로퍼티들

프로퍼티 타입 설명
KnownLocations List

공개 메소드들

메소드 설명
CancelDeployment ( string resourceGroup, string deploymentName ) : void

Cancels the active deployment.

CreatePSResourceGroup ( PSCreateResourceGroupParameters parameters ) : PSResourceGroup

Creates a new resource group

DeleteDeployment ( string resourceGroup, string deploymentName ) : void

Deletes a deployment

DeleteResourceGroup ( string name ) : void

Deletes a given resource group

ExecuteDeployment ( PSCreateResourceGroupDeploymentParameters parameters ) : PSResourceGroupDeployment

Creates new deployment

FilterResourceGroupDeployments ( FilterResourceGroupDeploymentOptions options ) : List

Filters the resource group deployments

FilterResourceGroups ( string name, Hashtable tag, bool detailed, string location = null ) : List

Filters the subscription's resource groups.

GetRegisteredProviders ( List providers ) : List
ListResourceProviders ( string providerName = null, bool listAvailable = true ) : List
ParseDetailErrorMessage ( string statusMessage ) : List
ParseResourceIds ( string resourceIds ) : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.ResourceIdentifier[]

Parses an array of resource ids to extract the resource group name

ProvisionDeploymentStatus ( string resourceGroup, string deploymentName, Deployment deployment ) : DeploymentExtended
RegisterProvider ( string providerName ) : PSResourceProvider
ResourceManagerSdkClient ( ) : System

Parameterless constructor for mocking

ResourceManagerSdkClient ( AzureContext context ) : System

Creates new ResourceManagementClient

ResourceManagerSdkClient ( IResourceManagementClient resourceManagementClient ) : System

Creates new ResourcesClient instance

SerializeHashtable ( Hashtable templateParameterObject, bool addValueLayer ) : string
UnregisterProvider ( string providerName ) : PSResourceProvider
UpdatePSResourceGroup ( PSUpdateResourceGroupParameters parameters ) : PSResourceGroup

Updates a resource group.

ValidatePSResourceGroupDeployment ( PSValidateResourceGroupDeploymentParameters parameters, DeploymentMode deploymentMode ) : List

Validates a given deployment.

비공개 메소드들

메소드 설명
CheckBasicDeploymentErrors ( string resourceGroup, string deploymentName, Deployment deployment ) : TemplateValidationInfo
CreateBasicDeployment ( PSValidateResourceGroupDeploymentParameters parameters, DeploymentMode deploymentMode, string debugSetting ) : Deployment
CreateOrUpdateResourceGroup ( string name, string location, Hashtable tags ) : ResourceGroup
DisplayInnerDetailErrorMessage ( ResourceManagementErrorWithDetails error ) : void
GenerateDeploymentName ( PSCreateResourceGroupDeploymentParameters parameters ) : string
GetDeploymentParameters ( Hashtable templateParameterObject ) : string
GetNewOperations ( List old, IPage current ) : List
GetTemplate ( string templateFile ) : string
IsProviderRegistered ( Provider provider ) : bool
WaitDeploymentStatus ( string resourceGroup, string deploymentName, Deployment basicDeployment, Action job ) : DeploymentExtended
WriteDeploymentProgress ( string resourceGroup, string deploymentName, Deployment deployment ) : void
WriteError ( string error ) : void
WriteVerbose ( string progress ) : void
WriteWarning ( string warning ) : void

메소드 상세

CancelDeployment() 공개 메소드

Cancels the active deployment.
public CancelDeployment ( string resourceGroup, string deploymentName ) : void
resourceGroup string The resource group name
deploymentName string Deployment name
리턴 void

CreatePSResourceGroup() 공개 메소드

Creates a new resource group
public CreatePSResourceGroup ( PSCreateResourceGroupParameters parameters ) : PSResourceGroup
parameters Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSCreateResourceGroupParameters The create parameters
리턴 Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceGroup

DeleteDeployment() 공개 메소드

Deletes a deployment
public DeleteDeployment ( string resourceGroup, string deploymentName ) : void
resourceGroup string The resource group name
deploymentName string Deployment name
리턴 void

DeleteResourceGroup() 공개 메소드

Deletes a given resource group
public DeleteResourceGroup ( string name ) : void
name string The resource group name
리턴 void

ExecuteDeployment() 공개 메소드

Creates new deployment
public ExecuteDeployment ( PSCreateResourceGroupDeploymentParameters parameters ) : PSResourceGroupDeployment
parameters Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSCreateResourceGroupDeploymentParameters The create deployment parameters
리턴 Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceGroupDeployment

FilterResourceGroupDeployments() 공개 메소드

Filters the resource group deployments
public FilterResourceGroupDeployments ( FilterResourceGroupDeploymentOptions options ) : List
options Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.FilterResourceGroupDeploymentOptions The filtering options
리턴 List

FilterResourceGroups() 공개 메소드

Filters the subscription's resource groups.
public FilterResourceGroups ( string name, Hashtable tag, bool detailed, string location = null ) : List
name string The resource group name.
tag System.Collections.Hashtable The resource group tag.
detailed bool Whether the return is detailed or not.
location string The resource group location.
리턴 List

GetRegisteredProviders() 공개 메소드

public GetRegisteredProviders ( List providers ) : List
providers List
리턴 List

ListResourceProviders() 공개 메소드

public ListResourceProviders ( string providerName = null, bool listAvailable = true ) : List
providerName string
listAvailable bool
리턴 List

ParseDetailErrorMessage() 공개 정적인 메소드

public static ParseDetailErrorMessage ( string statusMessage ) : List
statusMessage string
리턴 List

ParseResourceIds() 공개 메소드

Parses an array of resource ids to extract the resource group name
public ParseResourceIds ( string resourceIds ) : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.ResourceIdentifier[]
resourceIds string An array of resource ids
리턴 Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.ResourceIdentifier[]

ProvisionDeploymentStatus() 공개 메소드

public ProvisionDeploymentStatus ( string resourceGroup, string deploymentName, Deployment deployment ) : DeploymentExtended
resourceGroup string
deploymentName string
deployment Deployment
리턴 DeploymentExtended

RegisterProvider() 공개 메소드

public RegisterProvider ( string providerName ) : PSResourceProvider
providerName string
리턴 Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceProvider

ResourceManagerSdkClient() 공개 메소드

Parameterless constructor for mocking
public ResourceManagerSdkClient ( ) : System
리턴 System

ResourceManagerSdkClient() 공개 메소드

Creates new ResourceManagementClient
public ResourceManagerSdkClient ( AzureContext context ) : System
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext Profile containing resources to manipulate
리턴 System

ResourceManagerSdkClient() 공개 메소드

Creates new ResourcesClient instance
public ResourceManagerSdkClient ( IResourceManagementClient resourceManagementClient ) : System
resourceManagementClient IResourceManagementClient The IResourceManagementClient instance
리턴 System

SerializeHashtable() 공개 메소드

public SerializeHashtable ( Hashtable templateParameterObject, bool addValueLayer ) : string
templateParameterObject System.Collections.Hashtable
addValueLayer bool
리턴 string

UnregisterProvider() 공개 메소드

public UnregisterProvider ( string providerName ) : PSResourceProvider
providerName string
리턴 Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceProvider

UpdatePSResourceGroup() 공개 메소드

Updates a resource group.
public UpdatePSResourceGroup ( PSUpdateResourceGroupParameters parameters ) : PSResourceGroup
parameters Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSUpdateResourceGroupParameters The create parameters
리턴 Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceGroup

ValidatePSResourceGroupDeployment() 공개 메소드

Validates a given deployment.
public ValidatePSResourceGroupDeployment ( PSValidateResourceGroupDeploymentParameters parameters, DeploymentMode deploymentMode ) : List
parameters Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSValidateResourceGroupDeploymentParameters The deployment create options
deploymentMode DeploymentMode
리턴 List

프로퍼티 상세

KnownLocations 공개적으로 정적으로 프로퍼티

public static List KnownLocations
리턴 List