SubscriptionFeatureRegistrations interface
Interface representing a SubscriptionFeatureRegistrations.
Methods
create |
Create or update a feature registration. |
delete(string, string, Subscription |
Deletes a feature registration |
get(string, string, Subscription |
Returns a feature registration |
list |
Returns subscription feature registrations for given subscription. |
list |
Returns subscription feature registrations for given subscription and provider namespace. |
Method Details
createOrUpdate(string, string, SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams)
Create or update a feature registration.
function createOrUpdate(providerNamespace: string, featureName: string, options?: SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams): Promise<SubscriptionFeatureRegistration>
Parameters
- providerNamespace
-
string
The provider namespace.
- featureName
-
string
The feature name.
The options parameters.
Returns
Promise<SubscriptionFeatureRegistration>
delete(string, string, SubscriptionFeatureRegistrationsDeleteOptionalParams)
Deletes a feature registration
function delete(providerNamespace: string, featureName: string, options?: SubscriptionFeatureRegistrationsDeleteOptionalParams): Promise<void>
Parameters
- providerNamespace
-
string
The provider namespace.
- featureName
-
string
The feature name.
The options parameters.
Returns
Promise<void>
get(string, string, SubscriptionFeatureRegistrationsGetOptionalParams)
Returns a feature registration
function get(providerNamespace: string, featureName: string, options?: SubscriptionFeatureRegistrationsGetOptionalParams): Promise<SubscriptionFeatureRegistration>
Parameters
- providerNamespace
-
string
The provider namespace.
- featureName
-
string
The feature name.
The options parameters.
Returns
Promise<SubscriptionFeatureRegistration>
listAllBySubscription(SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams)
Returns subscription feature registrations for given subscription.
function listAllBySubscription(options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams): PagedAsyncIterableIterator<SubscriptionFeatureRegistration, SubscriptionFeatureRegistration[], PageSettings>
Parameters
The options parameters.
Returns
listBySubscription(string, SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams)
Returns subscription feature registrations for given subscription and provider namespace.
function listBySubscription(providerNamespace: string, options?: SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SubscriptionFeatureRegistration, SubscriptionFeatureRegistration[], PageSettings>
Parameters
- providerNamespace
-
string
The provider namespace.
The options parameters.