C# 클래스 Microsoft.Azure.Commands.RecoveryServices.Backup.Helpers.JobConversions

Job conversions helper.
파일 보기 프로젝트 열기: Azure/azure-powershell

공개 메소드들

메소드 설명
AddServiceClientJobsToPSList ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobListResponse serviceClientJobs, List psJobs, int &jobsCount ) : void

Helper function to convert ps backup job list model from service response.

GetJobTypeForService ( Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models mgmtType ) : string

Helper function to get job type from ps backup management type.

GetLastIdFromFullId ( string fullId ) : string

Helper function to get last index value from full id.

GetPSBackupManagementType ( string jobType ) : string

Helper function to get ps backup management type from job type.

GetPSJob ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResource serviceClientJob ) : JobBase

Helper function to convert ps backup job model from service response.

GetPSJob ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResponse serviceClientJob ) : JobBase

This function returns either job object or job details object based on what ServiceClient object contains. To elaborate, if ServiceClient job's ExtendedInfo is filled then this function will return a job details object. Otherwise it will return a job object.

비공개 메소드들

메소드 설명
GetPSAzureVmErrorInfo ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureIaaSVMErrorInfo serviceClientError ) : AzureVmJobErrorInfo

Helper function to convert ps azure vm backup job error info from service response.

GetPSAzureVmJob ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResource serviceClientJob ) : AzureVmJob

Helper function to convert ps azure vm backup policy job from service response.

메소드 상세

AddServiceClientJobsToPSList() 공개 정적인 메소드

Helper function to convert ps backup job list model from service response.
public static AddServiceClientJobsToPSList ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobListResponse serviceClientJobs, List psJobs, int &jobsCount ) : void
serviceClientJobs Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobListResponse
psJobs List
jobsCount int
리턴 void

GetJobTypeForService() 공개 정적인 메소드

Helper function to get job type from ps backup management type.
public static GetJobTypeForService ( Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models mgmtType ) : string
mgmtType Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models
리턴 string

GetLastIdFromFullId() 공개 정적인 메소드

Helper function to get last index value from full id.
public static GetLastIdFromFullId ( string fullId ) : string
fullId string
리턴 string

GetPSBackupManagementType() 공개 정적인 메소드

Helper function to get ps backup management type from job type.
public static GetPSBackupManagementType ( string jobType ) : string
jobType string
리턴 string

GetPSJob() 공개 정적인 메소드

Helper function to convert ps backup job model from service response.
public static GetPSJob ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResource serviceClientJob ) : JobBase
serviceClientJob Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResource
리턴 Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.JobBase

GetPSJob() 공개 정적인 메소드

This function returns either job object or job details object based on what ServiceClient object contains. To elaborate, if ServiceClient job's ExtendedInfo is filled then this function will return a job details object. Otherwise it will return a job object.
public static GetPSJob ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResponse serviceClientJob ) : JobBase
serviceClientJob Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResponse
리턴 Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.JobBase