SubscriptionFeatureRegistrations interface

Interface representing a SubscriptionFeatureRegistrations.

Methods

createOrUpdate(string, string, SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams)

Create or update a feature registration.

delete(string, string, SubscriptionFeatureRegistrationsDeleteOptionalParams)

Deletes a feature registration

get(string, string, SubscriptionFeatureRegistrationsGetOptionalParams)

Returns a feature registration

listAllBySubscription(SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams)

Returns subscription feature registrations for given subscription.

listBySubscription(string, SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams)

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.

Returns

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.

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.

options
SubscriptionFeatureRegistrationsGetOptionalParams

The options parameters.

Returns

listAllBySubscription(SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams)

Returns subscription feature registrations for given subscription.

function listAllBySubscription(options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams): PagedAsyncIterableIterator<SubscriptionFeatureRegistration, SubscriptionFeatureRegistration[], PageSettings>

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.

Returns