5.0.0 • Published 5 years ago

@datafire/azure_resources_features v5.0.0

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

@datafire/azure_resources_features

Client library for FeatureClient

Installation and Usage

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

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

Description

Azure Feature Exposure Control (AFEC) provides a mechanism for the resource providers to control feature exposure to users. Resource providers typically use this mechanism to provide public/private preview for new features prior to making them generally available. Users need to explicitly register for AFEC features to get access to such functionality.

Actions

ListOperations

Lists all of the available Microsoft.Features REST API operations.

azure_resources_features.ListOperations({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for this operation.

Output

Features_ListAll

Gets all the preview features that are available through AFEC for the subscription.

azure_resources_features.Features_ListAll({
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.

Output

Features_List

Gets all the preview features in a provider namespace that are available through AFEC for the subscription.

azure_resources_features.Features_List({
  "resourceProviderNamespace": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceProviderNamespace required string: The namespace of the resource provider for getting features.
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.

Output

Features_Get

Gets the preview feature with the specified name.

azure_resources_features.Features_Get({
  "resourceProviderNamespace": "",
  "featureName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceProviderNamespace required string: The resource provider namespace for the feature.
    • featureName required string: The name of the feature to get.
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.

Output

Features_Register

Registers the preview feature for the subscription.

azure_resources_features.Features_Register({
  "resourceProviderNamespace": "",
  "featureName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceProviderNamespace required string: The namespace of the resource provider.
    • featureName required string: The name of the feature to register.
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.

Output

Definitions

FeatureOperationsListResult

  • FeatureOperationsListResult object: List of previewed features.
    • nextLink string: The URL to use for getting the next set of results.
    • value array: The array of features.

FeatureProperties

  • FeatureProperties object: Information about feature.
    • state string: The registration state of the feature for the subscription.

FeatureResult

  • FeatureResult object: Previewed feature information.
    • id string: The resource ID of the feature.
    • name string: The name of the feature.
    • properties FeatureProperties
    • type string: The resource type of the feature.

Operation

  • Operation object: Microsoft.Features operation
    • display object: The object that represents the operation.
      • operation string: Operation type: Read, write, delete, etc.
      • provider string: Service provider: Microsoft.Features
      • resource string: Resource on which the operation is performed: Profile, endpoint, etc.
    • name string: Operation name: {provider}/{resource}/{operation}

OperationListResult

  • OperationListResult object: Result of the request to list Microsoft.Features operations. It contains a list of operations and a URL link to get the next set of results.
    • nextLink string: URL to get the next set of operation list results if there are any.
    • value array: List of Microsoft.Features operations.
5.0.0

5 years ago

4.0.0

7 years ago

3.0.0

7 years ago