Interface SubscriptionFeatureRegistrationsClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>
public interface SubscriptionFeatureRegistrationsClient extends InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in SubscriptionFeatureRegistrationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubscriptionFeatureRegistrationInnercreateOrUpdate(String providerNamespace, String featureName)Create or update a feature registration.Mono<SubscriptionFeatureRegistrationInner>createOrUpdateAsync(String providerNamespace, String featureName)Create or update a feature registration.Mono<SubscriptionFeatureRegistrationInner>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.voiddelete(String providerNamespace, String featureName)Deletes a feature registration.Mono<Void>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.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String providerNamespace, String featureName)Deletes a feature registration.SubscriptionFeatureRegistrationInnerget(String providerNamespace, String featureName)Returns a feature registration.Mono<SubscriptionFeatureRegistrationInner>getAsync(String providerNamespace, String featureName)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>listAsync()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 Detail
-
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
Mono<SubscriptionFeatureRegistrationInner> getAsync(String providerNamespace, String featureName)
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
SubscriptionFeatureRegistrationInner get(String providerNamespace, String featureName)
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
SubscriptionFeatureRegistrationInner createOrUpdate(String providerNamespace, String featureName)
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
Mono<Void> deleteAsync(String providerNamespace, String featureName)
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
void delete(String providerNamespace, String featureName)
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.
-
-