Interface PrivateLinkResourcesOperations
public interface PrivateLinkResourcesOperations
Resource collection API of PrivateLinkResourcesOperations.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a specified private link resource that need to be created for Backup and SiteRecovery.com.azure.core.http.rest.Response<PrivateLinkResource>
getWithResponse
(String resourceGroupName, String vaultName, String privateLinkResourceName, com.azure.core.util.Context context) Returns a specified private link resource that need to be created for Backup and SiteRecovery.com.azure.core.http.rest.PagedIterable<PrivateLinkResource>
Returns the list of private link resources that need to be created for Backup and SiteRecovery.com.azure.core.http.rest.PagedIterable<PrivateLinkResource>
Returns the list of private link resources that need to be created for Backup and SiteRecovery.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<PrivateLinkResource> list(String resourceGroupName, String vaultName) Returns the list of private link resources that need to be created for Backup and SiteRecovery.- Parameters:
resourceGroupName
- The name of the resource group where the recovery services vault is present.vaultName
- The name of the recovery services vault.- Returns:
- class which represent the stamps associated with the vault 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<PrivateLinkResource> list(String resourceGroupName, String vaultName, com.azure.core.util.Context context) Returns the list of private link resources that need to be created for Backup and SiteRecovery.- Parameters:
resourceGroupName
- The name of the resource group where the recovery services vault is present.vaultName
- The name of the recovery services vault.context
- The context to associate with this operation.- Returns:
- class which represent the stamps associated with the vault 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
Returns a specified private link resource that need to be created for Backup and SiteRecovery.- Parameters:
resourceGroupName
- The name of the resource group where the recovery services vault is present.vaultName
- The name of the recovery services vault.privateLinkResourceName
- The privateLinkResourceName parameter.- Returns:
- information of the 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<PrivateLinkResource> getWithResponse(String resourceGroupName, String vaultName, String privateLinkResourceName, com.azure.core.util.Context context) Returns a specified private link resource that need to be created for Backup and SiteRecovery.- Parameters:
resourceGroupName
- The name of the resource group where the recovery services vault is present.vaultName
- The name of the recovery services vault.privateLinkResourceName
- The privateLinkResourceName parameter.context
- The context to associate with this operation.- Returns:
- information of the 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.
-