Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReplicationProtectionContainers

Package version

Class representing a ReplicationProtectionContainers.

Hierarchy

  • ReplicationProtectionContainers

Index

Constructors

constructor

Methods

beginCreate

  • beginCreate(fabricName: string, protectionContainerName: string, creationInput: CreateProtectionContainerInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Operation to create a protection container.

    summary

    Create a protection container.

    Parameters

    • fabricName: string

      Unique fabric ARM name.

    • protectionContainerName: string

      Unique protection container ARM name.

    • creationInput: CreateProtectionContainerInput

      Creation input.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginDeleteMethod

  • beginDeleteMethod(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Operation to remove a protection container.

    summary

    Removes a protection container.

    Parameters

    • fabricName: string

      Unique fabric ARM name.

    • protectionContainerName: string

      Unique protection container ARM name.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginDiscoverProtectableItem

  • beginDiscoverProtectableItem(fabricName: string, protectionContainerName: string, discoverProtectableItemRequest: DiscoverProtectableItemRequest, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • The operation to a add a protectable item to a protection container(Add physical server.)

    summary

    Adds a protectable item to the replication protection container.

    Parameters

    • fabricName: string

      The name of the fabric.

    • protectionContainerName: string

      The name of the protection container.

    • discoverProtectableItemRequest: DiscoverProtectableItemRequest

      The request object to add a protectable item.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginSwitchProtection

  • beginSwitchProtection(fabricName: string, protectionContainerName: string, switchInput: SwitchProtectionInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Operation to switch protection from one container to another or one replication provider to another.

    summary

    Switches protection from one container to another or one replication provider to another.

    Parameters

    • fabricName: string

      Unique fabric name.

    • protectionContainerName: string

      Protection container name.

    • switchInput: SwitchProtectionInput

      Switch protection input.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

create

  • create(fabricName: string, protectionContainerName: string, creationInput: CreateProtectionContainerInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectionContainersCreateResponse>
  • Operation to create a protection container.

    summary

    Create a protection container.

    Parameters

    • fabricName: string

      Unique fabric ARM name.

    • protectionContainerName: string

      Unique protection container ARM name.

    • creationInput: CreateProtectionContainerInput

      Creation input.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ReplicationProtectionContainersCreateResponse>

    Promise<Models.ReplicationProtectionContainersCreateResponse>

deleteMethod

  • deleteMethod(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Operation to remove a protection container.

    summary

    Removes a protection container.

    Parameters

    • fabricName: string

      Unique fabric ARM name.

    • protectionContainerName: string

      Unique protection container ARM name.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

discoverProtectableItem

  • discoverProtectableItem(fabricName: string, protectionContainerName: string, discoverProtectableItemRequest: DiscoverProtectableItemRequest, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectionContainersDiscoverProtectableItemResponse>
  • The operation to a add a protectable item to a protection container(Add physical server.)

    summary

    Adds a protectable item to the replication protection container.

    Parameters

    • fabricName: string

      The name of the fabric.

    • protectionContainerName: string

      The name of the protection container.

    • discoverProtectableItemRequest: DiscoverProtectableItemRequest

      The request object to add a protectable item.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ReplicationProtectionContainersDiscoverProtectableItemResponse>

    Promise<Models.ReplicationProtectionContainersDiscoverProtectableItemResponse>

get

  • get(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectionContainersGetResponse>
  • get(fabricName: string, protectionContainerName: string, callback: msRest.ServiceCallback<ProtectionContainer>): void
  • get(fabricName: string, protectionContainerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ProtectionContainer>): void
  • Gets the details of a protection container.

    summary

    Gets the protection container details.

    Parameters

    • fabricName: string

      Fabric name.

    • protectionContainerName: string

      Protection container name.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ReplicationProtectionContainersGetResponse>

    Promise<Models.ReplicationProtectionContainersGetResponse>

  • Parameters

    • fabricName: string

      Fabric name.

    • protectionContainerName: string

      Protection container name.

    • callback: msRest.ServiceCallback<ProtectionContainer>

      The callback

    Returns void

  • Parameters

    • fabricName: string

      Fabric name.

    • protectionContainerName: string

      Protection container name.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ProtectionContainer>

      The callback

    Returns void

list

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

listByReplicationFabrics

  • listByReplicationFabrics(fabricName: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectionContainersListByReplicationFabricsResponse>
  • listByReplicationFabrics(fabricName: string, callback: msRest.ServiceCallback<ProtectionContainerCollection>): void
  • listByReplicationFabrics(fabricName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ProtectionContainerCollection>): void

listByReplicationFabricsNext

  • listByReplicationFabricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectionContainersListByReplicationFabricsNextResponse>
  • listByReplicationFabricsNext(nextPageLink: string, callback: msRest.ServiceCallback<ProtectionContainerCollection>): void
  • listByReplicationFabricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ProtectionContainerCollection>): void
  • Lists the protection containers in the specified fabric.

    summary

    Gets the list of protection container for a fabric.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ReplicationProtectionContainersListByReplicationFabricsNextResponse>

    Promise<Models.ReplicationProtectionContainersListByReplicationFabricsNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<ProtectionContainerCollection>

      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<ProtectionContainerCollection>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectionContainersListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<ProtectionContainerCollection>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ProtectionContainerCollection>): void

switchProtection

  • switchProtection(fabricName: string, protectionContainerName: string, switchInput: SwitchProtectionInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectionContainersSwitchProtectionResponse>
  • Operation to switch protection from one container to another or one replication provider to another.

    summary

    Switches protection from one container to another or one replication provider to another.

    Parameters

    • fabricName: string

      Unique fabric name.

    • protectionContainerName: string

      Protection container name.

    • switchInput: SwitchProtectionInput

      Switch protection input.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ReplicationProtectionContainersSwitchProtectionResponse>

    Promise<Models.ReplicationProtectionContainersSwitchProtectionResponse>

Generated using TypeDoc