Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReplicationPolicies

Package version

Class representing a ReplicationPolicies.

Hierarchy

  • ReplicationPolicies

Index

Constructors

constructor

Methods

beginCreate

  • beginCreate(policyName: string, input: CreatePolicyInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • The operation to create a replication policy

    summary

    Creates the policy.

    Parameters

    • policyName: string

      Replication policy name

    • input: CreatePolicyInput

      Create policy input

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginDeleteMethod

  • beginDeleteMethod(policyName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • The operation to delete a replication policy.

    summary

    Delete the policy.

    Parameters

    • policyName: string

      Replication policy name.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginUpdate

  • beginUpdate(policyName: string, input: UpdatePolicyInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • The operation to update a replication policy.

    summary

    Updates the policy.

    Parameters

    • policyName: string

      Policy Id.

    • input: UpdatePolicyInput

      Update Policy Input

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

create

  • create(policyName: string, input: CreatePolicyInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationPoliciesCreateResponse>
  • The operation to create a replication policy

    summary

    Creates the policy.

    Parameters

    • policyName: string

      Replication policy name

    • input: CreatePolicyInput

      Create policy input

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ReplicationPoliciesCreateResponse>

    Promise<Models.ReplicationPoliciesCreateResponse>

deleteMethod

  • deleteMethod(policyName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • The operation to delete a replication policy.

    summary

    Delete the policy.

    Parameters

    • policyName: string

      Replication policy name.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

get

  • get(policyName: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationPoliciesGetResponse>
  • get(policyName: string, callback: msRest.ServiceCallback<Policy>): void
  • get(policyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Policy>): void
  • Gets the details of a replication policy.

    summary

    Gets the requested policy.

    Parameters

    • policyName: string

      Replication policy name.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ReplicationPoliciesGetResponse>

    Promise<Models.ReplicationPoliciesGetResponse>

  • Parameters

    • policyName: string

      Replication policy name.

    • callback: msRest.ServiceCallback<Policy>

      The callback

    Returns void

  • Parameters

    • policyName: string

      Replication policy name.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Policy>

      The callback

    Returns void

list

  • list(options?: msRest.RequestOptionsBase): Promise<Models.ReplicationPoliciesListResponse>
  • list(callback: msRest.ServiceCallback<PolicyCollection>): void
  • list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PolicyCollection>): void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationPoliciesListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<PolicyCollection>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PolicyCollection>): void
  • Lists the replication policies for a vault.

    summary

    Gets the list of replication policies

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ReplicationPoliciesListNextResponse>

    Promise<Models.ReplicationPoliciesListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<PolicyCollection>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<PolicyCollection>

      The callback

    Returns void

update

  • update(policyName: string, input: UpdatePolicyInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationPoliciesUpdateResponse>
  • The operation to update a replication policy.

    summary

    Updates the policy.

    Parameters

    • policyName: string

      Policy Id.

    • input: UpdatePolicyInput

      Update Policy Input

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ReplicationPoliciesUpdateResponse>

    Promise<Models.ReplicationPoliciesUpdateResponse>

Generated using TypeDoc