Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebServices

Package version

Class representing a WebServices.

Hierarchy

  • WebServices

Index

Constructors

constructor

Methods

beginCreateOrUpdate

  • beginCreateOrUpdate(resourceGroupName: string, webServiceName: string, createOrUpdatePayload: WebService, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Create or update a web service. This call will overwrite an existing web service. Note that there is no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new web service, call the Get operation first to verify that it does not exist.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • createOrUpdatePayload: WebService

      The payload that is used to create or update the web service.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginCreateRegionalProperties

  • beginCreateRegionalProperties(resourceGroupName: string, webServiceName: string, region: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Creates an encrypted credentials parameter blob for the specified region. To get the web service from a region other than the region in which it has been created, you must first call Create Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that region. You only need to do this before the first time that you get the web service in the new region.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • region: string

      The region for which encrypted credential parameters are created.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginPatch

  • beginPatch(resourceGroupName: string, webServiceName: string, patchPayload: WebService, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To determine whether it has completed successfully, you must perform a Get operation.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • patchPayload: WebService

      The payload to use to patch the web service.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginRemove

  • beginRemove(resourceGroupName: string, webServiceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Deletes the specified web service.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, webServiceName: string, createOrUpdatePayload: WebService, options?: msRest.RequestOptionsBase): Promise<Models.WebServicesCreateOrUpdateResponse>
  • Create or update a web service. This call will overwrite an existing web service. Note that there is no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new web service, call the Get operation first to verify that it does not exist.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • createOrUpdatePayload: WebService

      The payload that is used to create or update the web service.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebServicesCreateOrUpdateResponse>

    Promise<Models.WebServicesCreateOrUpdateResponse>

createRegionalProperties

  • createRegionalProperties(resourceGroupName: string, webServiceName: string, region: string, options?: msRest.RequestOptionsBase): Promise<Models.WebServicesCreateRegionalPropertiesResponse>
  • Creates an encrypted credentials parameter blob for the specified region. To get the web service from a region other than the region in which it has been created, you must first call Create Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that region. You only need to do this before the first time that you get the web service in the new region.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • region: string

      The region for which encrypted credential parameters are created.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebServicesCreateRegionalPropertiesResponse>

    Promise<Models.WebServicesCreateRegionalPropertiesResponse>

get

  • get(resourceGroupName: string, webServiceName: string, options?: Models.WebServicesGetOptionalParams): Promise<Models.WebServicesGetResponse>
  • get(resourceGroupName: string, webServiceName: string, callback: msRest.ServiceCallback<WebService>): void
  • get(resourceGroupName: string, webServiceName: string, options: WebServicesGetOptionalParams, callback: msRest.ServiceCallback<WebService>): void
  • Gets the Web Service Definition as specified by a subscription, resource group, and name. Note that the storage credentials and web service keys are not returned by this call. To get the web service access keys, call List Keys.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • Optional options: Models.WebServicesGetOptionalParams

    Returns Promise<Models.WebServicesGetResponse>

    Promise<Models.WebServicesGetResponse>

  • Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • callback: msRest.ServiceCallback<WebService>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • options: WebServicesGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<WebService>

      The callback

    Returns void

listByResourceGroup

  • Gets the web services in the specified resource group.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • Optional options: Models.WebServicesListByResourceGroupOptionalParams

    Returns Promise<Models.WebServicesListByResourceGroupResponse>

    Promise<Models.WebServicesListByResourceGroupResponse>

  • Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • callback: msRest.ServiceCallback<PaginatedWebServicesList>

      The callback

    Returns void

  • Parameters

    Returns void

listByResourceGroupNext

  • listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WebServicesListByResourceGroupNextResponse>
  • listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<PaginatedWebServicesList>): void
  • listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PaginatedWebServicesList>): void
  • Gets the web services in the specified resource group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebServicesListByResourceGroupNextResponse>

    Promise<Models.WebServicesListByResourceGroupNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<PaginatedWebServicesList>

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

      The callback

    Returns void

listBySubscriptionId

listBySubscriptionIdNext

  • listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WebServicesListBySubscriptionIdNextResponse>
  • listBySubscriptionIdNext(nextPageLink: string, callback: msRest.ServiceCallback<PaginatedWebServicesList>): void
  • listBySubscriptionIdNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PaginatedWebServicesList>): void
  • Gets the web services in the specified subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebServicesListBySubscriptionIdNextResponse>

    Promise<Models.WebServicesListBySubscriptionIdNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<PaginatedWebServicesList>

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

      The callback

    Returns void

listKeys

  • listKeys(resourceGroupName: string, webServiceName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebServicesListKeysResponse>
  • listKeys(resourceGroupName: string, webServiceName: string, callback: msRest.ServiceCallback<WebServiceKeys>): void
  • listKeys(resourceGroupName: string, webServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<WebServiceKeys>): void
  • Gets the access keys for the specified web service.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebServicesListKeysResponse>

    Promise<Models.WebServicesListKeysResponse>

  • Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • callback: msRest.ServiceCallback<WebServiceKeys>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<WebServiceKeys>

      The callback

    Returns void

patch

  • patch(resourceGroupName: string, webServiceName: string, patchPayload: WebService, options?: msRest.RequestOptionsBase): Promise<Models.WebServicesPatchResponse>
  • Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To determine whether it has completed successfully, you must perform a Get operation.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • patchPayload: WebService

      The payload to use to patch the web service.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebServicesPatchResponse>

    Promise<Models.WebServicesPatchResponse>

remove

  • remove(resourceGroupName: string, webServiceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Deletes the specified web service.

    Parameters

    • resourceGroupName: string

      Name of the resource group in which the web service is located.

    • webServiceName: string

      The name of the web service.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

Generated using TypeDoc