Interface SignalRSharedPrivateLinkResources
-
public interface SignalRSharedPrivateLinkResources
Resource collection API of SignalRSharedPrivateLinkResources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SharedPrivateLinkResource.DefinitionStages.Blank
define(String name)
Begins definition for a new SharedPrivateLinkResource resource.void
delete(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName)
Delete the specified shared private link resource.void
delete(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Delete the specified shared private link resource.void
deleteById(String id)
Delete the specified shared private link resource.void
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Delete the specified shared private link resource.SharedPrivateLinkResource
get(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName)
Get the specified shared private link resource.SharedPrivateLinkResource
getById(String id)
Get the specified shared private link resource.com.azure.core.http.rest.Response<SharedPrivateLinkResource>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Get the specified shared private link resource.com.azure.core.http.rest.Response<SharedPrivateLinkResource>
getWithResponse(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Get the specified shared private link resource.com.azure.core.http.rest.PagedIterable<SharedPrivateLinkResource>
list(String resourceGroupName, String resourceName)
List shared private link resources.com.azure.core.http.rest.PagedIterable<SharedPrivateLinkResource>
list(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
List shared private link resources.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<SharedPrivateLinkResource> list(String resourceGroupName, String resourceName)
List shared private link resources.- Parameters:
resourceGroupName
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.resourceName
- The name of the resource.- Returns:
- a list of shared private link resources 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.
-
list
com.azure.core.http.rest.PagedIterable<SharedPrivateLinkResource> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
List shared private link resources.- Parameters:
resourceGroupName
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.resourceName
- The name of the resource.context
- The context to associate with this operation.- Returns:
- a list of shared private link resources 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.
-
get
SharedPrivateLinkResource get(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName)
Get the specified shared private link resource.- Parameters:
sharedPrivateLinkResourceName
- The name of the shared private link resource.resourceGroupName
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.resourceName
- The name of the resource.- Returns:
- the specified shared private link 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.
-
getWithResponse
com.azure.core.http.rest.Response<SharedPrivateLinkResource> getWithResponse(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Get the specified shared private link resource.- Parameters:
sharedPrivateLinkResourceName
- The name of the shared private link resource.resourceGroupName
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.resourceName
- The name of the resource.context
- The context to associate with this operation.- Returns:
- the specified shared private link 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.
-
delete
void delete(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName)
Delete the specified shared private link resource.- Parameters:
sharedPrivateLinkResourceName
- The name of the shared private link resource.resourceGroupName
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.resourceName
- The name of the 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.
-
delete
void delete(String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Delete the specified shared private link resource.- Parameters:
sharedPrivateLinkResourceName
- The name of the shared private link resource.resourceGroupName
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.resourceName
- The name of the resource.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.
-
getById
SharedPrivateLinkResource getById(String id)
Get the specified shared private link resource.- Parameters:
id
- the resource ID.- Returns:
- the specified shared private link 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<SharedPrivateLinkResource> getByIdWithResponse(String id, com.azure.core.util.Context context)
Get the specified shared private link resource.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the specified shared private link 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.
-
deleteById
void deleteById(String id)
Delete the specified shared private link resource.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Delete the specified shared private link resource.- Parameters:
id
- the resource ID.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.
-
define
SharedPrivateLinkResource.DefinitionStages.Blank define(String name)
Begins definition for a new SharedPrivateLinkResource resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new SharedPrivateLinkResource definition.
-
-