Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApiOperationPolicyImpl

Package version

Class containing ApiOperationPolicy operations.

Hierarchy

  • ApiOperationPolicyImpl

Implements

Index

Constructors

constructor

Methods

createOrUpdate

delete

  • Deletes the policy configuration at the Api Operation.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • apiId: string

      API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

    • operationId: string

      Operation identifier within an API. Must be unique in the current API Management service instance.

    • policyId: PolicyIdName

      The identifier of the Policy.

    • ifMatch: string

      ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

    • Optional options: ApiOperationPolicyDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

get

  • Get the policy configuration at the API Operation level.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • apiId: string

      API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

    • operationId: string

      Operation identifier within an API. Must be unique in the current API Management service instance.

    • policyId: PolicyIdName

      The identifier of the Policy.

    • Optional options: ApiOperationPolicyGetOptionalParams

      The options parameters.

    Returns Promise<ApiOperationPolicyGetResponse>

getEntityTag

  • Gets the entity state (Etag) version of the API operation policy specified by its identifier.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • serviceName: string

      The name of the API Management service.

    • apiId: string

      API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

    • operationId: string

      Operation identifier within an API. Must be unique in the current API Management service instance.

    • policyId: PolicyIdName

      The identifier of the Policy.

    • Optional options: ApiOperationPolicyGetEntityTagOptionalParams

      The options parameters.

    Returns Promise<ApiOperationPolicyGetEntityTagResponse>

listByOperation

Generated using TypeDoc