5.0.0 • Published 5 years ago

@datafire/azure_apimanagement_apimproperties v5.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/azure_apimanagement_apimproperties

Client library for ApiManagementClient

Installation and Usage

npm install --save @datafire/azure_apimanagement_apimproperties
let azure_apimanagement_apimproperties = require('@datafire/azure_apimanagement_apimproperties').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Use these REST APIs for performing operations on Property entity associated with your Azure API Management deployment. API Management policies are a powerful capability of the system that allow the publisher to change the behavior of the API through configuration. Policies are a collection of statements that are executed sequentially on the request or response of an API. Policy statements can be constructed using literal text values, policy expressions, and properties. Each API Management service instance has a properties collection of key/value pairs that are global to the service instance. These properties can be used to manage constant string values across all API configuration and policies.

Actions

Property_ListByService

Lists a collection of properties defined within a service instance.

azure_apimanagement_apimproperties.Property_ListByService({
  "resourceGroupName": "",
  "serviceName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • $filter string: | Field | Usage | Supported operators | Supported functions ||-------------|-------------|-------------|-------------|| tags | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith, any, all | | displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
    • $top integer: Number of records to return.
    • $skip integer: Number of records to skip.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

  • output object: Paged Property list representation.
    • nextLink string: Next page link if any.
    • value array: Page values.
      • items object: Property details.
        • properties object: Property Contract properties.
          • displayName required string: Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.
          • value required string: Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.
          • secret boolean: Determines whether the value is a secret and should be encrypted or not. Default value is false.
          • tags array: Optional tags that when provided can be used to filter the property list.
            • items string
        • id string: Resource ID.
        • name string: Resource name.
        • type string: Resource type for API Management resource.

Property_Delete

Deletes specific property from the API Management service instance.

azure_apimanagement_apimproperties.Property_Delete({
  "resourceGroupName": "",
  "serviceName": "",
  "propId": "",
  "If-Match": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • propId required string: Identifier of the property.
    • If-Match required 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.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Output schema unknown

Property_Get

Gets the details of the property specified by its identifier.

azure_apimanagement_apimproperties.Property_Get({
  "resourceGroupName": "",
  "serviceName": "",
  "propId": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • propId required string: Identifier of the property.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

  • output object: Property details.
    • properties object: Property Contract properties.
      • displayName required string: Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.
      • value required string: Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.
      • secret boolean: Determines whether the value is a secret and should be encrypted or not. Default value is false.
      • tags array: Optional tags that when provided can be used to filter the property list.
        • items string
    • id string: Resource ID.
    • name string: Resource name.
    • type string: Resource type for API Management resource.

Property_GetEntityTag

Gets the entity state (Etag) version of the property specified by its identifier.

azure_apimanagement_apimproperties.Property_GetEntityTag({
  "resourceGroupName": "",
  "serviceName": "",
  "propId": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • propId required string: Identifier of the property.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Output schema unknown

Property_Update

Updates the specific property.

azure_apimanagement_apimproperties.Property_Update({
  "resourceGroupName": "",
  "serviceName": "",
  "propId": "",
  "parameters": null,
  "If-Match": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • propId required string: Identifier of the property.
    • parameters required object: Property update Parameters.
      • properties object: Property Contract properties.
        • displayName string: Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.
        • value string: Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.
        • secret boolean: Determines whether the value is a secret and should be encrypted or not. Default value is false.
        • tags array: Optional tags that when provided can be used to filter the property list.
          • items string
    • If-Match required 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.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Output schema unknown

Property_CreateOrUpdate

Creates or updates a property.

azure_apimanagement_apimproperties.Property_CreateOrUpdate({
  "resourceGroupName": "",
  "serviceName": "",
  "propId": "",
  "parameters": null,
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • propId required string: Identifier of the property.
    • parameters required object: Property details.
      • properties object: Property Contract properties.
        • displayName required string: Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.
        • value required string: Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.
        • secret boolean: Determines whether the value is a secret and should be encrypted or not. Default value is false.
        • tags array: Optional tags that when provided can be used to filter the property list.
          • items string
      • id string: Resource ID.
      • name string: Resource name.
      • type string: Resource type for API Management resource.
    • If-Match string: ETag of the Entity. Not required when creating an entity, but required when updating an entity.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

  • output object: Property details.
    • properties object: Property Contract properties.
      • displayName required string: Unique name of Property. It may contain only letters, digits, period, dash, and underscore characters.
      • value required string: Value of the property. Can contain policy expressions. It may not be empty or consist only of whitespace.
      • secret boolean: Determines whether the value is a secret and should be encrypted or not. Default value is false.
      • tags array: Optional tags that when provided can be used to filter the property list.
        • items string
    • id string: Resource ID.
    • name string: Resource name.
    • type string: Resource type for API Management resource.

Definitions

This integration has no definitions

5.0.0

5 years ago

4.0.0

7 years ago

3.0.0

7 years ago