Interface PrivateLinkScopedResourcesClient
public interface PrivateLinkScopedResourcesClient
An instance of this class provides access to all the operations defined in PrivateLinkScopedResourcesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<ScopedResourceInner>, ScopedResourceInner> beginCreateOrUpdate
(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters) Approve or reject a private endpoint connection with a given name.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<ScopedResourceInner>, ScopedResourceInner> beginCreateOrUpdate
(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<ScopedResourceInner>, ScopedResourceInner> beginCreateOrUpdateAsync
(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters) Approve or reject a private endpoint connection with a given name.beginDelete
(String resourceGroupName, String scopeName, String name) Deletes a private endpoint connection with a given name.beginDelete
(String resourceGroupName, String scopeName, String name, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.beginDeleteAsync
(String resourceGroupName, String scopeName, String name) Deletes a private endpoint connection with a given name.createOrUpdate
(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters) Approve or reject a private endpoint connection with a given name.createOrUpdate
(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.createOrUpdateAsync
(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters) Approve or reject a private endpoint connection with a given name.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync
(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters) Approve or reject a private endpoint connection with a given name.void
Deletes a private endpoint connection with a given name.void
delete
(String resourceGroupName, String scopeName, String name, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.deleteAsync
(String resourceGroupName, String scopeName, String name) Deletes a private endpoint connection with a given name.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync
(String resourceGroupName, String scopeName, String name) Deletes a private endpoint connection with a given name.Gets a scoped resource in a private link scope.Gets a scoped resource in a private link scope.com.azure.core.http.rest.Response
<ScopedResourceInner> getWithResponse
(String resourceGroupName, String scopeName, String name, com.azure.core.util.Context context) Gets a scoped resource in a private link scope.Mono
<com.azure.core.http.rest.Response<ScopedResourceInner>> getWithResponseAsync
(String resourceGroupName, String scopeName, String name) Gets a scoped resource in a private link scope.com.azure.core.http.rest.PagedIterable
<ScopedResourceInner> listByPrivateLinkScope
(String resourceGroupName, String scopeName) Gets all private endpoint connections on a private link scope.com.azure.core.http.rest.PagedIterable
<ScopedResourceInner> listByPrivateLinkScope
(String resourceGroupName, String scopeName, com.azure.core.util.Context context) Gets all private endpoint connections on a private link scope.com.azure.core.http.rest.PagedFlux
<ScopedResourceInner> listByPrivateLinkScopeAsync
(String resourceGroupName, String scopeName) Gets all private endpoint connections on a private link scope.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ScopedResourceInner>> getWithResponseAsync(String resourceGroupName, String scopeName, String name) Gets a scoped resource in a private link scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.- Returns:
- a scoped resource in a private link scope along with
Response
on 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
Gets a scoped resource in a private link scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.- Returns:
- a scoped resource in a private link scope 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.
-
getWithResponse
com.azure.core.http.rest.Response<ScopedResourceInner> getWithResponse(String resourceGroupName, String scopeName, String name, com.azure.core.util.Context context) Gets a scoped resource in a private link scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.context
- The context to associate with this operation.- Returns:
- a scoped resource in a private link scope 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.
-
get
Gets a scoped resource in a private link scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.- Returns:
- a scoped resource in a private link scope.
- 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 scopeName, String name, ScopedResourceInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.parameters
- The parameters parameter.- Returns:
- a private link scoped resource along with
Response
on 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<ScopedResourceInner>,ScopedResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.parameters
- The parameters parameter.- Returns:
- the
PollerFlux
for polling of a private link scoped 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<ScopedResourceInner>,ScopedResourceInner> beginCreateOrUpdate(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.parameters
- The parameters parameter.- Returns:
- the
SyncPoller
for polling of a private link scoped 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<ScopedResourceInner>,ScopedResourceInner> beginCreateOrUpdate(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.parameters
- The parameters parameter.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a private link scoped 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<ScopedResourceInner> createOrUpdateAsync(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.parameters
- The parameters parameter.- Returns:
- a private link scoped 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
ScopedResourceInner createOrUpdate(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.parameters
- The parameters parameter.- Returns:
- a private link scoped 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
ScopedResourceInner createOrUpdate(String resourceGroupName, String scopeName, String name, ScopedResourceInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.parameters
- The parameters parameter.context
- The context to associate with this operation.- Returns:
- a private link scoped 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String scopeName, String name) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.- Returns:
- the
Response
on 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 scopeName, String name) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.- Returns:
- the
PollerFlux
for 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 scopeName, String name) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.- Returns:
- the
SyncPoller
for 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 scopeName, String name, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for 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
Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.- Returns:
- A
Mono
that 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 private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.- 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 scopeName, String name, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.name
- The name of the scoped resource object.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.
-
listByPrivateLinkScopeAsync
com.azure.core.http.rest.PagedFlux<ScopedResourceInner> listByPrivateLinkScopeAsync(String resourceGroupName, String scopeName) Gets all private endpoint connections on a private link scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.- Returns:
- all private endpoint connections on a private link scope 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.
-
listByPrivateLinkScope
com.azure.core.http.rest.PagedIterable<ScopedResourceInner> listByPrivateLinkScope(String resourceGroupName, String scopeName) Gets all private endpoint connections on a private link scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.- Returns:
- all private endpoint connections on a private link scope 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.
-
listByPrivateLinkScope
com.azure.core.http.rest.PagedIterable<ScopedResourceInner> listByPrivateLinkScope(String resourceGroupName, String scopeName, com.azure.core.util.Context context) Gets all private endpoint connections on a private link scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Monitor PrivateLinkScope resource.context
- The context to associate with this operation.- Returns:
- all private endpoint connections on a private link scope 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.
-