C# Класс Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.ServiceClientAdapterNS.ServiceClientAdapter

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CancelJob ( string jobId ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

Cancels a job

CreateOrUpdateProtectedItem ( string containerName, string protectedItemName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemCreateOrUpdateRequest request ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

Creates a new protected item or updates an already existing protected item

CreateOrUpdateProtectionPolicy ( string policyName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyRequest request ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse

Creates a new policy or updates an already existing policy

DeleteProtectedItem ( string containerName, string protectedItemName ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

Deletes a protected item

GetJob ( string jobId ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResponse

Gets a job

GetJobOperationStatus ( string jobId, string operationId ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResponse

Gets the job operation status

GetJobs ( string jobId, string status, string operation, System.DateTime startTime, System.DateTime endTime, string backupManagementType, int top = null, string skipToken = null ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobListResponse

Lists jobs according to the parameters

GetProtectedItem ( string containerName, string protectedItemName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.GetProtectedItemQueryParam queryFilter ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemResponse

Gets a protected item

GetProtectedItemOperationStatusByURL ( string operationResultLink ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackUpOperationStatusResponse

Gets result of a generic operation on the protected item using the operation tracking URL

GetProtectionPolicy ( string policyName ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse

Gets a protection policy given the name

GetProtectionPolicyOperationStatusByURL ( string url ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackUpOperationStatusResponse

Gets protection policy operation status using the operation tracking URL

GetQueryObject ( string backupManagementType, System.DateTime startTime, System.DateTime endTime, string jobId, string status, string operation ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.CommonJobQueryFilters

Constructs the query object based on the input parameters

GetRecoveryPointDetails ( string containerName, string protectedItemName, string recoveryPointId ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointResponse

Gets detail about the recovery point identified by the input parameters

GetRecoveryPoints ( string containerName, string protectedItemName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointQueryParameters queryFilter ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointListResponse

Lists recovery points according to the input parameters

GetRefreshContainerOperationResultByURL ( string operationResultLink ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

Gets result of the refresh container operation using the operation tracking URL

ListBackupEngines ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupEngineListQueryParams queryParams ) : IEnumerable

Fetches backup engines in the vault according to the query params

ListContainers ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionContainerListQueryParams queryParams ) : IEnumerable

Fetches protection containers in the vault according to the query params

ListProtectableItem ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectableObjectListQueryParameters queryFilter, Microsoft.Azure.Management.RecoveryServices.Backup.Models.PaginationRequest paginationRequest = null ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectableObjectListResponse

Lists protectable items according to the query filter and the pagination params

ListProtectedItem ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemListQueryParam queryFilter, Microsoft.Azure.Management.RecoveryServices.Backup.Models.PaginationRequest paginationParams = null ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemListResponse

List protected items protected by the Recovery Services vault according to the query params and pagination params.

ListProtectionPolicy ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyQueryParameters queryFilter ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyListResponse

Lists protection policies according to the input query filter

RefreshContainers ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

Triggers refresh of container catalog in service

RemoveProtectionPolicy ( string policyName ) : AzureOperationResponse

Deletes protection policy from the vault specified by the name

RestoreDisk ( AzureVmRecoveryPoint rp, string storageAccountId, string storageAccountLocation, string storageAccountType ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

Restores the disk based on the recovery point and other input parameters

ServiceClientAdapter ( SubscriptionCloudCredentials creds, Uri baseUri ) : System
TriggerBackup ( string containerName, string itemName, System.DateTime expiryDateTimeUtc ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

Triggers backup on the specified item

UnregisterContainers ( string containerName ) : AzureOperationResponse

Triggers unregister of a container in service

Описание методов

CancelJob() публичный Метод

Cancels a job
public CancelJob ( string jobId ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
jobId string ID of the job to cancel
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

CreateOrUpdateProtectedItem() публичный Метод

Creates a new protected item or updates an already existing protected item
public CreateOrUpdateProtectedItem ( string containerName, string protectedItemName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemCreateOrUpdateRequest request ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
containerName string Name of the container which this item belongs to
protectedItemName string Name of the item
request Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemCreateOrUpdateRequest Protected item create or update request
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

CreateOrUpdateProtectionPolicy() публичный Метод

Creates a new policy or updates an already existing policy
public CreateOrUpdateProtectionPolicy ( string policyName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyRequest request ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse
policyName string Name of the policy
request Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyRequest Policy create or update request
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse

DeleteProtectedItem() публичный Метод

Deletes a protected item
public DeleteProtectedItem ( string containerName, string protectedItemName ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
containerName string Name of the container which this item belongs to
protectedItemName string Name of the item
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

GetJob() публичный Метод

Gets a job
public GetJob ( string jobId ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResponse
jobId string ID of the job
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResponse

GetJobOperationStatus() публичный Метод

Gets the job operation status
public GetJobOperationStatus ( string jobId, string operationId ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResponse
jobId string ID of the job
operationId string ID of the operation associated with the job
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobResponse

GetJobs() публичный Метод

Lists jobs according to the parameters
public GetJobs ( string jobId, string status, string operation, System.DateTime startTime, System.DateTime endTime, string backupManagementType, int top = null, string skipToken = null ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobListResponse
jobId string ID of the job
status string Status of the job
operation string Operation represented by the job
startTime System.DateTime Time when the job started
endTime System.DateTime Time when the job finished
backupManagementType string Backup management type of the item represented by the job
top int Top pagination param
skipToken string Skip token pagination param
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobListResponse

GetProtectedItem() публичный Метод

Gets a protected item
public GetProtectedItem ( string containerName, string protectedItemName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.GetProtectedItemQueryParam queryFilter ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemResponse
containerName string Name of the container which this item belongs to
protectedItemName string Name of the item
queryFilter Microsoft.Azure.Management.RecoveryServices.Backup.Models.GetProtectedItemQueryParam Query filter
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemResponse

GetProtectedItemOperationStatusByURL() публичный Метод

Gets result of a generic operation on the protected item using the operation tracking URL
public GetProtectedItemOperationStatusByURL ( string operationResultLink ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackUpOperationStatusResponse
operationResultLink string Operation tracking URL
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackUpOperationStatusResponse

GetProtectionPolicy() публичный Метод

Gets a protection policy given the name
public GetProtectionPolicy ( string policyName ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse
policyName string Name of the policy
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse

GetProtectionPolicyOperationStatusByURL() публичный Метод

Gets protection policy operation status using the operation tracking URL
public GetProtectionPolicyOperationStatusByURL ( string url ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackUpOperationStatusResponse
url string Operation tracking URL
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackUpOperationStatusResponse

GetQueryObject() публичный Метод

Constructs the query object based on the input parameters
public GetQueryObject ( string backupManagementType, System.DateTime startTime, System.DateTime endTime, string jobId, string status, string operation ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.CommonJobQueryFilters
backupManagementType string Backup management type of the item associated with the job
startTime System.DateTime Time when the job started
endTime System.DateTime Time when the job ended
jobId string ID of the job
status string Status of the job
operation string ID of operation associated with the job
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.CommonJobQueryFilters

GetRecoveryPointDetails() публичный Метод

Gets detail about the recovery point identified by the input parameters
public GetRecoveryPointDetails ( string containerName, string protectedItemName, string recoveryPointId ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointResponse
containerName string Name of the container which the item belongs to
protectedItemName string Name of the item
recoveryPointId string ID of the recovery point
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointResponse

GetRecoveryPoints() публичный Метод

Lists recovery points according to the input parameters
public GetRecoveryPoints ( string containerName, string protectedItemName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointQueryParameters queryFilter ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointListResponse
containerName string Name of the container which the item belongs to
protectedItemName string Name of the item
queryFilter Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointQueryParameters Query filter
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.RecoveryPointListResponse

GetRefreshContainerOperationResultByURL() публичный Метод

Gets result of the refresh container operation using the operation tracking URL
public GetRefreshContainerOperationResultByURL ( string operationResultLink ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
operationResultLink string Operation tracking URL
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

ListBackupEngines() публичный Метод

Fetches backup engines in the vault according to the query params
public ListBackupEngines ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupEngineListQueryParams queryParams ) : IEnumerable
queryParams Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupEngineListQueryParams
Результат IEnumerable

ListContainers() публичный Метод

Fetches protection containers in the vault according to the query params
public ListContainers ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionContainerListQueryParams queryParams ) : IEnumerable
queryParams Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionContainerListQueryParams
Результат IEnumerable

ListProtectableItem() публичный Метод

Lists protectable items according to the query filter and the pagination params
public ListProtectableItem ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectableObjectListQueryParameters queryFilter, Microsoft.Azure.Management.RecoveryServices.Backup.Models.PaginationRequest paginationRequest = null ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectableObjectListResponse
queryFilter Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectableObjectListQueryParameters Query filter
paginationRequest Microsoft.Azure.Management.RecoveryServices.Backup.Models.PaginationRequest Pagination parameters
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectableObjectListResponse

ListProtectedItem() публичный Метод

List protected items protected by the Recovery Services vault according to the query params and pagination params.
public ListProtectedItem ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemListQueryParam queryFilter, Microsoft.Azure.Management.RecoveryServices.Backup.Models.PaginationRequest paginationParams = null ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemListResponse
queryFilter Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemListQueryParam Query params
paginationParams Microsoft.Azure.Management.RecoveryServices.Backup.Models.PaginationRequest Pagination params
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemListResponse

ListProtectionPolicy() публичный Метод

Lists protection policies according to the input query filter
public ListProtectionPolicy ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyQueryParameters queryFilter ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyListResponse
queryFilter Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyQueryParameters Query filter
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyListResponse

RefreshContainers() публичный Метод

Triggers refresh of container catalog in service
public RefreshContainers ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

RemoveProtectionPolicy() публичный Метод

Deletes protection policy from the vault specified by the name
public RemoveProtectionPolicy ( string policyName ) : AzureOperationResponse
policyName string Name of the policy to be deleted
Результат AzureOperationResponse

RestoreDisk() публичный Метод

Restores the disk based on the recovery point and other input parameters
public RestoreDisk ( AzureVmRecoveryPoint rp, string storageAccountId, string storageAccountLocation, string storageAccountType ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
rp Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureVmRecoveryPoint Recovery point to restore the disk to
storageAccountId string ID of the storage account where to restore the disk
storageAccountLocation string Location of the storage account where to restore the disk
storageAccountType string Type of the storage account where to restore the disk
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

ServiceClientAdapter() публичный Метод

public ServiceClientAdapter ( SubscriptionCloudCredentials creds, Uri baseUri ) : System
creds SubscriptionCloudCredentials
baseUri System.Uri
Результат System

TriggerBackup() публичный Метод

Triggers backup on the specified item
public TriggerBackup ( string containerName, string itemName, System.DateTime expiryDateTimeUtc ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
containerName string Name of the container which this item belongs to
itemName string Name of the item
expiryDateTimeUtc System.DateTime
Результат Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

UnregisterContainers() публичный Метод

Triggers unregister of a container in service
public UnregisterContainers ( string containerName ) : AzureOperationResponse
containerName string
Результат AzureOperationResponse