Interface ServiceEndpointPoliciesClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ServiceEndpointPolicyInner>,InnerSupportsListing<ServiceEndpointPolicyInner>
public interface ServiceEndpointPoliciesClient extends InnerSupportsGet<ServiceEndpointPolicyInner>, InnerSupportsListing<ServiceEndpointPolicyInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ServiceEndpointPoliciesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.ServiceEndpointPolicyInnercreateOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters)Creates or updates a service Endpoint Policies.ServiceEndpointPolicyInnercreateOrUpdate(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.voiddelete(String resourceGroupName, String serviceEndpointPolicyName)Deletes the specified service endpoint policy.voiddelete(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.ServiceEndpointPolicyInnergetByResourceGroup(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.ServiceEndpointPolicyInnerupdateTags(String resourceGroupName, String serviceEndpointPolicyName, TagsObject parameters)Updates tags of a service endpoint policy.Mono<ServiceEndpointPolicyInner>updateTagsAsync(String resourceGroupName, String serviceEndpointPolicyName, TagsObject parameters)Updates tags of a service endpoint policy.com.azure.core.http.rest.Response<ServiceEndpointPolicyInner>updateTagsWithResponse(String resourceGroupName, String serviceEndpointPolicyName, TagsObject parameters, 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, TagsObject parameters)Updates tags of a service endpoint policy.
-
-
-
Method Detail
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName)
Deletes the specified service endpoint policy.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.- 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.
-
beginDeleteAsync
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.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginDelete
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.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
beginDelete
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.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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 resourceGroupName, String serviceEndpointPolicyName)
Deletes the specified service endpoint policy.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.- 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 resourceGroupName, String serviceEndpointPolicyName)
Deletes the specified service endpoint policy.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.- 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 resourceGroupName, String serviceEndpointPolicyName, com.azure.core.util.Context context)
Deletes the specified service endpoint policy.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.context- The context to associate with this operation.- 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.
-
getByResourceGroupWithResponseAsync
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.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.expand- Expands referenced resources.- Returns:
- the specified service Endpoint Policies in a specified resource group 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.
-
getByResourceGroupAsync
Mono<ServiceEndpointPolicyInner> getByResourceGroupAsync(String resourceGroupName, String serviceEndpointPolicyName, String expand)
Gets the specified service Endpoint Policies in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.expand- Expands referenced resources.- Returns:
- the specified service Endpoint Policies in a specified resource group 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.
-
getByResourceGroupAsync
Mono<ServiceEndpointPolicyInner> getByResourceGroupAsync(String resourceGroupName, String serviceEndpointPolicyName)
Gets the specified service Endpoint Policies in a specified resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ServiceEndpointPolicyInner>- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.- Returns:
- the specified service Endpoint Policies in a specified resource group 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.
-
getByResourceGroup
ServiceEndpointPolicyInner getByResourceGroup(String resourceGroupName, String serviceEndpointPolicyName)
Gets the specified service Endpoint Policies in a specified resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ServiceEndpointPolicyInner>- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.- Returns:
- the specified service Endpoint Policies in a specified resource group.
- 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.
-
getByResourceGroupWithResponse
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.- Parameters:
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.- Returns:
- the specified service Endpoint Policies in a specified resource group 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<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters)
Creates or updates a service Endpoint Policies.- 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.- Returns:
- service End point policy resource 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.
-
beginCreateOrUpdateAsync
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.- 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.- Returns:
- the
PollerFluxfor polling of service End point policy resource. - 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.
-
beginCreateOrUpdate
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.- 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.- Returns:
- the
SyncPollerfor polling of service End point policy resource. - 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.
-
beginCreateOrUpdate
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.- 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.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of service End point policy resource. - 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<ServiceEndpointPolicyInner> createOrUpdateAsync(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters)
Creates or updates a service Endpoint Policies.- 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.- Returns:
- service End point policy resource 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
ServiceEndpointPolicyInner createOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters)
Creates or updates a service Endpoint Policies.- 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.- Returns:
- service End point policy resource.
- 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
ServiceEndpointPolicyInner createOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters, com.azure.core.util.Context context)
Creates or updates a service Endpoint Policies.- 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.context- The context to associate with this operation.- Returns:
- service End point policy resource.
- 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServiceEndpointPolicyInner>> updateTagsWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, TagsObject parameters)
Updates tags of a service endpoint policy.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.parameters- Parameters supplied to update service endpoint policy tags.- Returns:
- service End point policy resource 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.
-
updateTagsAsync
Mono<ServiceEndpointPolicyInner> updateTagsAsync(String resourceGroupName, String serviceEndpointPolicyName, TagsObject parameters)
Updates tags of a service endpoint policy.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.parameters- Parameters supplied to update service endpoint policy tags.- Returns:
- service End point policy resource 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.
-
updateTags
ServiceEndpointPolicyInner updateTags(String resourceGroupName, String serviceEndpointPolicyName, TagsObject parameters)
Updates tags of a service endpoint policy.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.parameters- Parameters supplied to update service endpoint policy tags.- Returns:
- service End point policy resource.
- 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<ServiceEndpointPolicyInner> updateTagsWithResponse(String resourceGroupName, String serviceEndpointPolicyName, TagsObject parameters, com.azure.core.util.Context context)
Updates tags of a service endpoint policy.- Parameters:
resourceGroupName- The name of the resource group.serviceEndpointPolicyName- The name of the service endpoint policy.parameters- Parameters supplied to update service endpoint policy tags.context- The context to associate with this operation.- Returns:
- service End point policy resource 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<ServiceEndpointPolicyInner> listAsync()
Gets all the service endpoint policies in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<ServiceEndpointPolicyInner>- Returns:
- all the service endpoint policies in a subscription 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<ServiceEndpointPolicyInner> list()
Gets all the service endpoint policies in a subscription.- Specified by:
listin interfaceInnerSupportsListing<ServiceEndpointPolicyInner>- Returns:
- all the service endpoint policies in a subscription 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<ServiceEndpointPolicyInner> list(com.azure.core.util.Context context)
Gets all the service endpoint policies in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all the service endpoint policies in a subscription 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ServiceEndpointPolicyInner> listByResourceGroupAsync(String resourceGroupName)
Gets all service endpoint Policies in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<ServiceEndpointPolicyInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all service endpoint Policies in a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ServiceEndpointPolicyInner> listByResourceGroup(String resourceGroupName)
Gets all service endpoint Policies in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<ServiceEndpointPolicyInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all service endpoint Policies in a resource group 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.
-
listByResourceGroup
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.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all service endpoint Policies in a resource group 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.
-
-