public interface ServiceEndpointPoliciesClient extends InnerSupportsGet<ServiceEndpointPolicyInner>, InnerSupportsListing<ServiceEndpointPolicyInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceEndpointPolicyInner>,ServiceEndpointPolicyInner> |
beginCreateOrUpdate(String resourceGroupName,
String serviceEndpointPolicyName,
ServiceEndpointPolicyInner parameters)
Creates or updates a service Endpoint Policies.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceEndpointPolicyInner>,ServiceEndpointPolicyInner> |
beginCreateOrUpdate(String resourceGroupName,
String serviceEndpointPolicyName,
ServiceEndpointPolicyInner parameters,
com.azure.core.util.Context context)
Creates or updates a service Endpoint Policies.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServiceEndpointPolicyInner>,ServiceEndpointPolicyInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String serviceEndpointPolicyName,
ServiceEndpointPolicyInner parameters)
Creates or updates a service Endpoint Policies.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serviceEndpointPolicyName)
Deletes the specified service endpoint policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serviceEndpointPolicyName,
com.azure.core.util.Context context)
Deletes the specified service endpoint policy.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String serviceEndpointPolicyName)
Deletes the specified service endpoint policy.
|
ServiceEndpointPolicyInner |
createOrUpdate(String resourceGroupName,
String serviceEndpointPolicyName,
ServiceEndpointPolicyInner parameters)
Creates or updates a service Endpoint Policies.
|
ServiceEndpointPolicyInner |
createOrUpdate(String resourceGroupName,
String serviceEndpointPolicyName,
ServiceEndpointPolicyInner parameters,
com.azure.core.util.Context context)
Creates or updates a service Endpoint Policies.
|
Mono<ServiceEndpointPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String serviceEndpointPolicyName,
ServiceEndpointPolicyInner parameters)
Creates or updates a service Endpoint Policies.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serviceEndpointPolicyName,
ServiceEndpointPolicyInner parameters)
Creates or updates a service Endpoint Policies.
|
void |
delete(String resourceGroupName,
String serviceEndpointPolicyName)
Deletes the specified service endpoint policy.
|
void |
delete(String resourceGroupName,
String serviceEndpointPolicyName,
com.azure.core.util.Context context)
Deletes the specified service endpoint policy.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String serviceEndpointPolicyName)
Deletes the specified service endpoint policy.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String serviceEndpointPolicyName)
Deletes the specified service endpoint policy.
|
ServiceEndpointPolicyInner |
getByResourceGroup(String resourceGroupName,
String serviceEndpointPolicyName)
Gets the specified service Endpoint Policies in a specified resource group.
|
Mono<ServiceEndpointPolicyInner> |
getByResourceGroupAsync(String resourceGroupName,
String serviceEndpointPolicyName)
Gets the specified service Endpoint Policies in a specified resource group.
|
Mono<ServiceEndpointPolicyInner> |
getByResourceGroupAsync(String resourceGroupName,
String serviceEndpointPolicyName,
String expand)
Gets the specified service Endpoint Policies in a specified resource group.
|
com.azure.core.http.rest.Response<ServiceEndpointPolicyInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String serviceEndpointPolicyName,
String expand,
com.azure.core.util.Context context)
Gets the specified service Endpoint Policies in a specified resource group.
|
Mono<com.azure.core.http.rest.Response<ServiceEndpointPolicyInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String serviceEndpointPolicyName,
String expand)
Gets the specified service Endpoint Policies in a specified resource group.
|
com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> |
list()
Gets all the service endpoint policies in a subscription.
|
com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> |
list(com.azure.core.util.Context context)
Gets all the service endpoint policies in a subscription.
|
com.azure.core.http.rest.PagedFlux<ServiceEndpointPolicyInner> |
listAsync()
Gets all the service endpoint policies in a subscription.
|
com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> |
listByResourceGroup(String resourceGroupName)
Gets all service endpoint Policies in a resource group.
|
com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets all service endpoint Policies in a resource group.
|
com.azure.core.http.rest.PagedFlux<ServiceEndpointPolicyInner> |
listByResourceGroupAsync(String resourceGroupName)
Gets all service endpoint Policies in a resource group.
|
ServiceEndpointPolicyInner |
updateTags(String resourceGroupName,
String serviceEndpointPolicyName)
Updates tags of a service endpoint policy.
|
Mono<ServiceEndpointPolicyInner> |
updateTagsAsync(String resourceGroupName,
String serviceEndpointPolicyName)
Updates tags of a service endpoint policy.
|
Mono<ServiceEndpointPolicyInner> |
updateTagsAsync(String resourceGroupName,
String serviceEndpointPolicyName,
Map<String,String> tags)
Updates tags of a service endpoint policy.
|
com.azure.core.http.rest.Response<ServiceEndpointPolicyInner> |
updateTagsWithResponse(String resourceGroupName,
String serviceEndpointPolicyName,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates tags of a service endpoint policy.
|
Mono<com.azure.core.http.rest.Response<ServiceEndpointPolicyInner>> |
updateTagsWithResponseAsync(String resourceGroupName,
String serviceEndpointPolicyName,
Map<String,String> tags)
Updates tags of a service endpoint policy.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serviceEndpointPolicyName)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serviceEndpointPolicyName)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serviceEndpointPolicyName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String serviceEndpointPolicyName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.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.void delete(String resourceGroupName, String serviceEndpointPolicyName)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.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.void delete(String resourceGroupName, String serviceEndpointPolicyName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<ServiceEndpointPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, String expand)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.expand - Expands referenced resources.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.Mono<ServiceEndpointPolicyInner> getByResourceGroupAsync(String resourceGroupName, String serviceEndpointPolicyName, String expand)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.expand - Expands referenced resources.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.Mono<ServiceEndpointPolicyInner> getByResourceGroupAsync(String resourceGroupName, String serviceEndpointPolicyName)
getByResourceGroupAsync in interface InnerSupportsGet<ServiceEndpointPolicyInner>resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.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.ServiceEndpointPolicyInner getByResourceGroup(String resourceGroupName, String serviceEndpointPolicyName)
getByResourceGroup in interface InnerSupportsGet<ServiceEndpointPolicyInner>resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.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.com.azure.core.http.rest.Response<ServiceEndpointPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String serviceEndpointPolicyName, String expand, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.expand - Expands referenced resources.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.parameters - Parameters supplied to the create or update service endpoint policy operation.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServiceEndpointPolicyInner>,ServiceEndpointPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.parameters - Parameters supplied to the create or update service endpoint policy operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceEndpointPolicyInner>,ServiceEndpointPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.parameters - Parameters supplied to the create or update service endpoint policy operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceEndpointPolicyInner>,ServiceEndpointPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.parameters - Parameters supplied to the create or update service endpoint policy operation.context - The context to associate with this operation.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.Mono<ServiceEndpointPolicyInner> createOrUpdateAsync(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.parameters - Parameters supplied to the create or update service endpoint policy operation.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.ServiceEndpointPolicyInner createOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.parameters - Parameters supplied to the create or update service endpoint policy operation.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.ServiceEndpointPolicyInner createOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.parameters - Parameters supplied to the create or update service endpoint policy operation.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<ServiceEndpointPolicyInner>> updateTagsWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, Map<String,String> tags)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.tags - Resource tags.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.Mono<ServiceEndpointPolicyInner> updateTagsAsync(String resourceGroupName, String serviceEndpointPolicyName, Map<String,String> tags)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.tags - Resource tags.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.Mono<ServiceEndpointPolicyInner> updateTagsAsync(String resourceGroupName, String serviceEndpointPolicyName)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.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.ServiceEndpointPolicyInner updateTags(String resourceGroupName, String serviceEndpointPolicyName)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.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.com.azure.core.http.rest.Response<ServiceEndpointPolicyInner> updateTagsWithResponse(String resourceGroupName, String serviceEndpointPolicyName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.serviceEndpointPolicyName - The name of the service endpoint policy.tags - Resource tags.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<ServiceEndpointPolicyInner> listAsync()
listAsync in interface InnerSupportsListing<ServiceEndpointPolicyInner>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.com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> list()
list in interface InnerSupportsListing<ServiceEndpointPolicyInner>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.com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<ServiceEndpointPolicyInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<ServiceEndpointPolicyInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<ServiceEndpointPolicyInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.