3.0.0 • Published 5 years ago
@datafire/azure_azsadmin_subscriptions v3.0.0
@datafire/azure_azsadmin_subscriptions
Client library for SubscriptionClient
Installation and Usage
npm install --save @datafire/azure_azsadmin_subscriptions
let azure_azsadmin_subscriptions = require('@datafire/azure_azsadmin_subscriptions').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
The User Subscription Management Client.
Actions
Subscriptions_List
Get the list of subscriptions.
azure_azsadmin_subscriptions.Subscriptions_List({
"api-version": ""
}, context)
Input
- input
object
- api-version required
string
: Client Api Version.
- api-version required
Output
- output SubscriptionList
Subscriptions_Delete
Delete the specified subscription.
azure_azsadmin_subscriptions.Subscriptions_Delete({
"subscriptionId": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: Id of the subscription. - api-version required
string
: Client Api Version.
- subscriptionId required
Output
Output schema unknown
Subscriptions_Get
Gets details about particular subscription.
azure_azsadmin_subscriptions.Subscriptions_Get({
"subscriptionId": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: Id of the subscription. - api-version required
string
: Client Api Version.
- subscriptionId required
Output
- output Subscription
Subscriptions_CreateOrUpdate
Create or updates a subscription.
azure_azsadmin_subscriptions.Subscriptions_CreateOrUpdate({
"subscriptionId": "",
"newSubscription": {},
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: Id of the subscription. - newSubscription required Subscription
- api-version required
string
: Client Api Version.
- subscriptionId required
Output
- output Subscription
Definitions
Resource
- Resource
object
: Base Resource Object- id
string
: URI of the resource. - location
string
: Location of the resource - name
string
: Name of the resource. - tags
object
: List of key-value pairs. - type
string
: Type of resource.
- id
Subscription
- Subscription
object
: List of supported operations.- displayName
string
: Subscription name. - id
string
: Fully qualified identifier. - offerId
string
: Identifier of the offer under the scope of a delegated provider. - state SubscriptionState
- subscriptionId
string
: Subscription identifier. - tenantId
string
: Directory tenant identifier.
- displayName
SubscriptionList
- SubscriptionList
object
: List of subscriptions.- nextLink
string
: URI to the next page. - value
array
: Subscription definition.- items Subscription
- nextLink
SubscriptionState
- SubscriptionState
string
(values: NotDefined, Enabled, Warned, PastDue, Disabled, Deleted): Subscription notification state.
3.0.0
5 years ago