Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Links

Package version

Class representing a Links.

Hierarchy

  • Links

Index

Constructors

constructor

Methods

beginCreateOrUpdate

  • beginCreateOrUpdate(resourceGroupName: string, hubName: string, linkName: string, parameters: LinkResourceFormat, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Creates a link or updates an existing link in the hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • linkName: string

      The name of the link.

    • parameters: LinkResourceFormat

      Parameters supplied to the CreateOrUpdate Link operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, hubName: string, linkName: string, parameters: LinkResourceFormat, options?: msRest.RequestOptionsBase): Promise<Models.LinksCreateOrUpdateResponse>
  • Creates a link or updates an existing link in the hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • linkName: string

      The name of the link.

    • parameters: LinkResourceFormat

      Parameters supplied to the CreateOrUpdate Link operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LinksCreateOrUpdateResponse>

    Promise<Models.LinksCreateOrUpdateResponse>

deleteMethod

  • deleteMethod(resourceGroupName: string, hubName: string, linkName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, hubName: string, linkName: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, hubName: string, linkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Deletes a link in the hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • linkName: string

      The name of the link.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • linkName: string

      The name of the link.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • linkName: string

      The name of the link.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, hubName: string, linkName: string, options?: msRest.RequestOptionsBase): Promise<Models.LinksGetResponse>
  • get(resourceGroupName: string, hubName: string, linkName: string, callback: msRest.ServiceCallback<LinkResourceFormat>): void
  • get(resourceGroupName: string, hubName: string, linkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<LinkResourceFormat>): void
  • Gets a link in the hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • linkName: string

      The name of the link.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LinksGetResponse>

    Promise<Models.LinksGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • linkName: string

      The name of the link.

    • callback: msRest.ServiceCallback<LinkResourceFormat>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • linkName: string

      The name of the link.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<LinkResourceFormat>

      The callback

    Returns void

listByHub

  • listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<Models.LinksListByHubResponse>
  • listByHub(resourceGroupName: string, hubName: string, callback: msRest.ServiceCallback<LinkListResult>): void
  • listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<LinkListResult>): void
  • Gets all the links in the specified hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LinksListByHubResponse>

    Promise<Models.LinksListByHubResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • callback: msRest.ServiceCallback<LinkListResult>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<LinkListResult>

      The callback

    Returns void

listByHubNext

  • listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LinksListByHubNextResponse>
  • listByHubNext(nextPageLink: string, callback: msRest.ServiceCallback<LinkListResult>): void
  • listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<LinkListResult>): void
  • Gets all the links in the specified hub.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LinksListByHubNextResponse>

    Promise<Models.LinksListByHubNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<LinkListResult>

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

      The callback

    Returns void

Generated using TypeDoc