Interface SubscriptionFeatureRegistrationsClient
- All Superinterfaces:
InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in SubscriptionFeatureRegistrationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String providerNamespace, String featureName) Create or update a feature registration.createOrUpdateAsync(String providerNamespace, String featureName) Create or update a feature registration.createOrUpdateAsync(String providerNamespace, String featureName, SubscriptionFeatureRegistrationInner subscriptionFeatureRegistrationType) Create or update a feature registration.com.azure.core.http.rest.Response<SubscriptionFeatureRegistrationInner>createOrUpdateWithResponse(String providerNamespace, String featureName, SubscriptionFeatureRegistrationInner subscriptionFeatureRegistrationType, com.azure.core.util.Context context) Create or update a feature registration.Mono<com.azure.core.http.rest.Response<SubscriptionFeatureRegistrationInner>>createOrUpdateWithResponseAsync(String providerNamespace, String featureName, SubscriptionFeatureRegistrationInner subscriptionFeatureRegistrationType) Create or update a feature registration.voidDeletes a feature registration.deleteAsync(String providerNamespace, String featureName) Deletes a feature registration.com.azure.core.http.rest.Response<Void>deleteWithResponse(String providerNamespace, String featureName, com.azure.core.util.Context context) Deletes a feature registration.deleteWithResponseAsync(String providerNamespace, String featureName) Deletes a feature registration.Returns a feature registration.Returns a feature registration.com.azure.core.http.rest.Response<SubscriptionFeatureRegistrationInner>getWithResponse(String providerNamespace, String featureName, com.azure.core.util.Context context) Returns a feature registration.Mono<com.azure.core.http.rest.Response<SubscriptionFeatureRegistrationInner>>getWithResponseAsync(String providerNamespace, String featureName) Returns a feature registration.com.azure.core.http.rest.PagedIterable<SubscriptionFeatureRegistrationInner>list()Returns subscription feature registrations for given subscription.com.azure.core.http.rest.PagedIterable<SubscriptionFeatureRegistrationInner>list(com.azure.core.util.Context context) Returns subscription feature registrations for given subscription.com.azure.core.http.rest.PagedFlux<SubscriptionFeatureRegistrationInner>Returns subscription feature registrations for given subscription.com.azure.core.http.rest.PagedIterable<SubscriptionFeatureRegistrationInner>listBySubscription(String providerNamespace) Returns subscription feature registrations for given subscription and provider namespace.com.azure.core.http.rest.PagedIterable<SubscriptionFeatureRegistrationInner>listBySubscription(String providerNamespace, com.azure.core.util.Context context) Returns subscription feature registrations for given subscription and provider namespace.com.azure.core.http.rest.PagedFlux<SubscriptionFeatureRegistrationInner>listBySubscriptionAsync(String providerNamespace) Returns subscription feature registrations for given subscription and provider namespace.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<SubscriptionFeatureRegistrationInner>> getWithResponseAsync(String providerNamespace, String featureName) Returns a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.- Returns:
- subscription feature registration details along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Returns a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.- Returns:
- subscription feature registration details on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Returns a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.- Returns:
- subscription feature registration details.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<SubscriptionFeatureRegistrationInner> getWithResponse(String providerNamespace, String featureName, com.azure.core.util.Context context) Returns a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.context- The context to associate with this operation.- Returns:
- subscription feature registration details along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<SubscriptionFeatureRegistrationInner>> createOrUpdateWithResponseAsync(String providerNamespace, String featureName, SubscriptionFeatureRegistrationInner subscriptionFeatureRegistrationType) Create or update a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.subscriptionFeatureRegistrationType- Subscription Feature Registration Type details.- Returns:
- subscription feature registration details along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<SubscriptionFeatureRegistrationInner> createOrUpdateAsync(String providerNamespace, String featureName, SubscriptionFeatureRegistrationInner subscriptionFeatureRegistrationType) Create or update a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.subscriptionFeatureRegistrationType- Subscription Feature Registration Type details.- Returns:
- subscription feature registration details on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<SubscriptionFeatureRegistrationInner> createOrUpdateAsync(String providerNamespace, String featureName) Create or update a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.- Returns:
- subscription feature registration details on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
Create or update a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.- Returns:
- subscription feature registration details.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SubscriptionFeatureRegistrationInner> createOrUpdateWithResponse(String providerNamespace, String featureName, SubscriptionFeatureRegistrationInner subscriptionFeatureRegistrationType, com.azure.core.util.Context context) Create or update a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.subscriptionFeatureRegistrationType- Subscription Feature Registration Type details.context- The context to associate with this operation.- Returns:
- subscription feature registration details along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String providerNamespace, String featureName) Deletes a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes a feature registration.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String providerNamespace, String featureName, com.azure.core.util.Context context) Deletes a feature registration.- Parameters:
providerNamespace- The provider namespace.featureName- The feature name.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listBySubscriptionAsync
com.azure.core.http.rest.PagedFlux<SubscriptionFeatureRegistrationInner> listBySubscriptionAsync(String providerNamespace) Returns subscription feature registrations for given subscription and provider namespace.- Parameters:
providerNamespace- The provider namespace.- Returns:
- the list of subscription feature registrations as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listBySubscription
com.azure.core.http.rest.PagedIterable<SubscriptionFeatureRegistrationInner> listBySubscription(String providerNamespace) Returns subscription feature registrations for given subscription and provider namespace.- Parameters:
providerNamespace- The provider namespace.- Returns:
- the list of subscription feature registrations as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listBySubscription
com.azure.core.http.rest.PagedIterable<SubscriptionFeatureRegistrationInner> listBySubscription(String providerNamespace, com.azure.core.util.Context context) Returns subscription feature registrations for given subscription and provider namespace.- Parameters:
providerNamespace- The provider namespace.context- The context to associate with this operation.- Returns:
- the list of subscription feature registrations as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<SubscriptionFeatureRegistrationInner> listAsync()Returns subscription feature registrations for given subscription.- Returns:
- the list of subscription feature registrations as paginated response with
PagedFlux. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<SubscriptionFeatureRegistrationInner> list()Returns subscription feature registrations for given subscription.- Returns:
- the list of subscription feature registrations as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<SubscriptionFeatureRegistrationInner> list(com.azure.core.util.Context context) Returns subscription feature registrations for given subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- the list of subscription feature registrations as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-