Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ApiPolicy

Package version

Interface representing a ApiPolicy.

Hierarchy

  • ApiPolicy

Implemented by

Index

Methods

createOrUpdate

delete

  • Deletes the policy configuration at the Api.

    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.

    • 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: ApiPolicyDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

get

  • Get the policy configuration at the API 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.

    • policyId: PolicyIdName

      The identifier of the Policy.

    • Optional options: ApiPolicyGetOptionalParams

      The options parameters.

    Returns Promise<ApiPolicyGetResponse>

getEntityTag

  • Gets the entity state (Etag) version of the API 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.

    • policyId: PolicyIdName

      The identifier of the Policy.

    • Optional options: ApiPolicyGetEntityTagOptionalParams

      The options parameters.

    Returns Promise<ApiPolicyGetEntityTagResponse>

listByApi

  • Get the policy configuration at the API 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.

    • Optional options: ApiPolicyListByApiOptionalParams

      The options parameters.

    Returns Promise<ApiPolicyListByApiResponse>

Generated using TypeDoc