public interface PrivateLinkHubsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String privateLinkHubName)
Deletes a privateLinkHub.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String privateLinkHubName,
com.azure.core.util.Context context)
Deletes a privateLinkHub.
|
PrivateLinkHubInner |
createOrUpdate(String resourceGroupName,
String privateLinkHubName,
PrivateLinkHubInner privateLinkHubInfo)
Creates or updates a privateLinkHub.
|
com.azure.core.http.rest.Response<PrivateLinkHubInner> |
createOrUpdateWithResponse(String resourceGroupName,
String privateLinkHubName,
PrivateLinkHubInner privateLinkHubInfo,
com.azure.core.util.Context context)
Creates or updates a privateLinkHub.
|
void |
delete(String resourceGroupName,
String privateLinkHubName)
Deletes a privateLinkHub.
|
void |
delete(String resourceGroupName,
String privateLinkHubName,
com.azure.core.util.Context context)
Deletes a privateLinkHub.
|
PrivateLinkHubInner |
getByResourceGroup(String resourceGroupName,
String privateLinkHubName)
Gets a privateLinkHub.
|
com.azure.core.http.rest.Response<PrivateLinkHubInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String privateLinkHubName,
com.azure.core.util.Context context)
Gets a privateLinkHub.
|
com.azure.core.http.rest.PagedIterable<PrivateLinkHubInner> |
list()
Returns a list of privateLinkHubs in a subscription.
|
com.azure.core.http.rest.PagedIterable<PrivateLinkHubInner> |
list(com.azure.core.util.Context context)
Returns a list of privateLinkHubs in a subscription.
|
com.azure.core.http.rest.PagedIterable<PrivateLinkHubInner> |
listByResourceGroup(String resourceGroupName)
Returns a list of privateLinkHubs in a resource group.
|
com.azure.core.http.rest.PagedIterable<PrivateLinkHubInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Returns a list of privateLinkHubs in a resource group.
|
PrivateLinkHubInner |
update(String resourceGroupName,
String privateLinkHubName,
PrivateLinkHubPatchInfo privateLinkHubPatchInfo)
Updates a privateLinkHub.
|
com.azure.core.http.rest.Response<PrivateLinkHubInner> |
updateWithResponse(String resourceGroupName,
String privateLinkHubName,
PrivateLinkHubPatchInfo privateLinkHubPatchInfo,
com.azure.core.util.Context context)
Updates a privateLinkHub.
|
com.azure.core.http.rest.PagedIterable<PrivateLinkHubInner> listByResourceGroup(String resourceGroupName)
resourceGroupName
- The name of the resource group. The name is case insensitive.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<PrivateLinkHubInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.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.PrivateLinkHubInner getByResourceGroup(String resourceGroupName, String privateLinkHubName)
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- Name of the privateLinkHub.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<PrivateLinkHubInner> getByResourceGroupWithResponse(String resourceGroupName, String privateLinkHubName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- Name of the privateLinkHub.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.PrivateLinkHubInner update(String resourceGroupName, String privateLinkHubName, PrivateLinkHubPatchInfo privateLinkHubPatchInfo)
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- Name of the privateLinkHub.privateLinkHubPatchInfo
- PrivateLinkHub patch request properties.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<PrivateLinkHubInner> updateWithResponse(String resourceGroupName, String privateLinkHubName, PrivateLinkHubPatchInfo privateLinkHubPatchInfo, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- Name of the privateLinkHub.privateLinkHubPatchInfo
- PrivateLinkHub patch request properties.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.PrivateLinkHubInner createOrUpdate(String resourceGroupName, String privateLinkHubName, PrivateLinkHubInner privateLinkHubInfo)
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- Name of the privateLinkHub.privateLinkHubInfo
- PrivateLinkHub create or update request properties.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<PrivateLinkHubInner> createOrUpdateWithResponse(String resourceGroupName, String privateLinkHubName, PrivateLinkHubInner privateLinkHubInfo, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- Name of the privateLinkHub.privateLinkHubInfo
- PrivateLinkHub create or update request properties.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateLinkHubName)
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- Name of the privateLinkHub.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 privateLinkHubName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- Name of the privateLinkHub.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.void delete(String resourceGroupName, String privateLinkHubName)
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- Name of the privateLinkHub.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 privateLinkHubName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- Name of the privateLinkHub.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.PagedIterable<PrivateLinkHubInner> list()
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<PrivateLinkHubInner> 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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.