C# 클래스 Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.PolicyCmdletHelpers

Class hosting helper methods for policy related cmdlets.
파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
policyNameRgx System.Text.RegularExpressions.Regex

공개 메소드들

메소드 설명
GetProtectionPolicyByName ( string policyName, ServiceClientAdapter serviceClientAdapter ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse

Fetches policies by name

ValidateProtectionPolicyName ( string policyName ) : void

Validates name of the policy

메소드 상세

GetProtectionPolicyByName() 공개 정적인 메소드

Fetches policies by name
public static GetProtectionPolicyByName ( string policyName, ServiceClientAdapter serviceClientAdapter ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse
policyName string Name of the policy to be fetched
serviceClientAdapter Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.ServiceClientAdapterNS.ServiceClientAdapter Service client adapter with which to make calls
리턴 Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse

ValidateProtectionPolicyName() 공개 정적인 메소드

Validates name of the policy
public static ValidateProtectionPolicyName ( string policyName ) : void
policyName string Name of the policy
리턴 void

프로퍼티 상세

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

public static Regex,System.Text.RegularExpressions policyNameRgx
리턴 System.Text.RegularExpressions.Regex