Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Hubs

Package version

Class representing a Hubs.

Hierarchy

  • Hubs

Index

Constructors

constructor

Methods

beginDeleteMethod

  • beginDeleteMethod(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Deletes 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<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, hubName: string, parameters: Hub, options?: msRest.RequestOptionsBase): Promise<Models.HubsCreateOrUpdateResponse>
  • createOrUpdate(resourceGroupName: string, hubName: string, parameters: Hub, callback: msRest.ServiceCallback<Hub>): void
  • createOrUpdate(resourceGroupName: string, hubName: string, parameters: Hub, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Hub>): void
  • Creates a hub, or updates an existing hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the Hub.

    • parameters: Hub

      Parameters supplied to the CreateOrUpdate Hub operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.HubsCreateOrUpdateResponse>

    Promise<Models.HubsCreateOrUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the Hub.

    • parameters: Hub

      Parameters supplied to the CreateOrUpdate Hub operation.

    • callback: msRest.ServiceCallback<Hub>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the Hub.

    • parameters: Hub

      Parameters supplied to the CreateOrUpdate Hub operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Hub>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Deletes 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<msRest.RestResponse>

    Promise<msRest.RestResponse>

get

  • get(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<Models.HubsGetResponse>
  • get(resourceGroupName: string, hubName: string, callback: msRest.ServiceCallback<Hub>): void
  • get(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Hub>): void
  • Gets information about 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.HubsGetResponse>

    Promise<Models.HubsGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the hub.

    • callback: msRest.ServiceCallback<Hub>

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

      The callback

    Returns void

list

  • list(options?: msRest.RequestOptionsBase): Promise<Models.HubsListResponse>
  • list(callback: msRest.ServiceCallback<HubListResult>): void
  • list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<HubListResult>): void
  • Gets all hubs in the specified subscription.

    Parameters

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.HubsListResponse>

    Promise<Models.HubsListResponse>

  • Parameters

    Returns void

  • Parameters

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<HubListResult>

      The callback

    Returns void

listByResourceGroup

  • listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.HubsListByResourceGroupResponse>
  • listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<HubListResult>): void
  • listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<HubListResult>): void
  • Gets all the hubs in a resource group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.HubsListByResourceGroupResponse>

    Promise<Models.HubsListByResourceGroupResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • callback: msRest.ServiceCallback<HubListResult>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<HubListResult>

      The callback

    Returns void

listByResourceGroupNext

  • listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.HubsListByResourceGroupNextResponse>
  • listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<HubListResult>): void
  • listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<HubListResult>): void
  • Gets all the hubs in a resource group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.HubsListByResourceGroupNextResponse>

    Promise<Models.HubsListByResourceGroupNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<HubListResult>

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

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.HubsListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<HubListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<HubListResult>): void
  • Gets all hubs in the specified subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.HubsListNextResponse>

    Promise<Models.HubsListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<HubListResult>

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

      The callback

    Returns void

update

  • update(resourceGroupName: string, hubName: string, parameters: Hub, options?: msRest.RequestOptionsBase): Promise<Models.HubsUpdateResponse>
  • update(resourceGroupName: string, hubName: string, parameters: Hub, callback: msRest.ServiceCallback<Hub>): void
  • update(resourceGroupName: string, hubName: string, parameters: Hub, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Hub>): void
  • Updates a Hub.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the Hub.

    • parameters: Hub

      Parameters supplied to the Update Hub operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.HubsUpdateResponse>

    Promise<Models.HubsUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the Hub.

    • parameters: Hub

      Parameters supplied to the Update Hub operation.

    • callback: msRest.ServiceCallback<Hub>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • hubName: string

      The name of the Hub.

    • parameters: Hub

      Parameters supplied to the Update Hub operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Hub>

      The callback

    Returns void

Generated using TypeDoc