Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ApiOperationPolicy

Package version

Interface representing a ApiOperationPolicy.

Hierarchy

  • ApiOperationPolicy

Implemented by

Index

Methods

createOrUpdate

  • Creates or updates policy configuration for 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.

    • parameters: PolicyContract

      The policy contents to apply.

    • Optional options: ApiOperationPolicyCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<ApiOperationPolicyCreateOrUpdateResponse>

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

  • Get the list of 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.

    • Optional options: ApiOperationPolicyListByOperationOptionalParams

      The options parameters.

    Returns Promise<ApiOperationPolicyListByOperationResponse>

Generated using TypeDoc