Interface HybridConnectionsClient
public interface HybridConnectionsClient
An instance of this class provides access to all the operations defined in HybridConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String namespaceName, String hybridConnectionName, HybridConnectionInner parameters) Creates or updates a service hybrid connection.createOrUpdateAuthorizationRule
(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, AuthorizationRuleInner parameters) Creates or updates an authorization rule for a hybrid connection.com.azure.core.http.rest.Response<AuthorizationRuleInner>
createOrUpdateAuthorizationRuleWithResponse
(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, AuthorizationRuleInner parameters, com.azure.core.util.Context context) Creates or updates an authorization rule for a hybrid connection.com.azure.core.http.rest.Response<HybridConnectionInner>
createOrUpdateWithResponse
(String resourceGroupName, String namespaceName, String hybridConnectionName, HybridConnectionInner parameters, com.azure.core.util.Context context) Creates or updates a service hybrid connection.void
Deletes a hybrid connection.void
deleteAuthorizationRule
(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName) Deletes a hybrid connection authorization rule.com.azure.core.http.rest.Response<Void>
deleteAuthorizationRuleWithResponse
(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, com.azure.core.util.Context context) Deletes a hybrid connection authorization rule.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String namespaceName, String hybridConnectionName, com.azure.core.util.Context context) Deletes a hybrid connection.Returns the description for the specified hybrid connection.getAuthorizationRule
(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName) Hybrid connection authorization rule for a hybrid connection by name.com.azure.core.http.rest.Response<AuthorizationRuleInner>
getAuthorizationRuleWithResponse
(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, com.azure.core.util.Context context) Hybrid connection authorization rule for a hybrid connection by name.com.azure.core.http.rest.Response<HybridConnectionInner>
getWithResponse
(String resourceGroupName, String namespaceName, String hybridConnectionName, com.azure.core.util.Context context) Returns the description for the specified hybrid connection.com.azure.core.http.rest.PagedIterable<AuthorizationRuleInner>
listAuthorizationRules
(String resourceGroupName, String namespaceName, String hybridConnectionName) Authorization rules for a hybrid connection.com.azure.core.http.rest.PagedIterable<AuthorizationRuleInner>
listAuthorizationRules
(String resourceGroupName, String namespaceName, String hybridConnectionName, com.azure.core.util.Context context) Authorization rules for a hybrid connection.com.azure.core.http.rest.PagedIterable<HybridConnectionInner>
listByNamespace
(String resourceGroupName, String namespaceName) Lists the hybrid connection within the namespace.com.azure.core.http.rest.PagedIterable<HybridConnectionInner>
listByNamespace
(String resourceGroupName, String namespaceName, com.azure.core.util.Context context) Lists the hybrid connection within the namespace.listKeys
(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName) Primary and secondary connection strings to the hybrid connection.com.azure.core.http.rest.Response<AccessKeysInner>
listKeysWithResponse
(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, com.azure.core.util.Context context) Primary and secondary connection strings to the hybrid connection.regenerateKeys
(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates the primary or secondary connection strings to the hybrid connection.com.azure.core.http.rest.Response<AccessKeysInner>
regenerateKeysWithResponse
(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, com.azure.core.util.Context context) Regenerates the primary or secondary connection strings to the hybrid connection.
-
Method Details
-
listByNamespace
com.azure.core.http.rest.PagedIterable<HybridConnectionInner> listByNamespace(String resourceGroupName, String namespaceName) Lists the hybrid connection within the namespace.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.- Returns:
- the response of the list hybrid connection operation 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.
-
listByNamespace
com.azure.core.http.rest.PagedIterable<HybridConnectionInner> listByNamespace(String resourceGroupName, String namespaceName, com.azure.core.util.Context context) Lists the hybrid connection within the namespace.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.context
- The context to associate with this operation.- Returns:
- the response of the list hybrid connection operation 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.
-
createOrUpdate
HybridConnectionInner createOrUpdate(String resourceGroupName, String namespaceName, String hybridConnectionName, HybridConnectionInner parameters) Creates or updates a service hybrid connection. This operation is idempotent.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.parameters
- Parameters supplied to create a hybrid connection.- Returns:
- description of hybrid connection 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<HybridConnectionInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String hybridConnectionName, HybridConnectionInner parameters, com.azure.core.util.Context context) Creates or updates a service hybrid connection. This operation is idempotent.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.parameters
- Parameters supplied to create a hybrid connection.context
- The context to associate with this operation.- Returns:
- description of hybrid connection 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
Deletes a hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String hybridConnectionName, com.azure.core.util.Context context) Deletes a hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.context
- The context to associate with this operation.- Returns:
- the
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
HybridConnectionInner get(String resourceGroupName, String namespaceName, String hybridConnectionName) Returns the description for the specified hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.- Returns:
- description of hybrid connection 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<HybridConnectionInner> getWithResponse(String resourceGroupName, String namespaceName, String hybridConnectionName, com.azure.core.util.Context context) Returns the description for the specified hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.context
- The context to associate with this operation.- Returns:
- description of hybrid connection 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.
-
listAuthorizationRules
com.azure.core.http.rest.PagedIterable<AuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String hybridConnectionName) Authorization rules for a hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.- Returns:
- the response from the list namespace operation 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.
-
listAuthorizationRules
com.azure.core.http.rest.PagedIterable<AuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String hybridConnectionName, com.azure.core.util.Context context) Authorization rules for a hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.context
- The context to associate with this operation.- Returns:
- the response from the list namespace operation 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.
-
createOrUpdateAuthorizationRule
AuthorizationRuleInner createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, AuthorizationRuleInner parameters) Creates or updates an authorization rule for a hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.authorizationRuleName
- The authorization rule name.parameters
- The authorization rule parameters.- Returns:
- description of a namespace authorization rule.
- 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.
-
createOrUpdateAuthorizationRuleWithResponse
com.azure.core.http.rest.Response<AuthorizationRuleInner> createOrUpdateAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, AuthorizationRuleInner parameters, com.azure.core.util.Context context) Creates or updates an authorization rule for a hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.authorizationRuleName
- The authorization rule name.parameters
- The authorization rule parameters.context
- The context to associate with this operation.- Returns:
- description of a namespace authorization rule 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.
-
deleteAuthorizationRule
void deleteAuthorizationRule(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName) Deletes a hybrid connection authorization rule.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.authorizationRuleName
- The authorization rule name.- 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.
-
deleteAuthorizationRuleWithResponse
com.azure.core.http.rest.Response<Void> deleteAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, com.azure.core.util.Context context) Deletes a hybrid connection authorization rule.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.authorizationRuleName
- The authorization rule name.context
- The context to associate with this operation.- Returns:
- the
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.
-
getAuthorizationRule
AuthorizationRuleInner getAuthorizationRule(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName) Hybrid connection authorization rule for a hybrid connection by name.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.authorizationRuleName
- The authorization rule name.- Returns:
- description of a namespace authorization rule.
- 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.
-
getAuthorizationRuleWithResponse
com.azure.core.http.rest.Response<AuthorizationRuleInner> getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, com.azure.core.util.Context context) Hybrid connection authorization rule for a hybrid connection by name.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.authorizationRuleName
- The authorization rule name.context
- The context to associate with this operation.- Returns:
- description of a namespace authorization rule 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.
-
listKeys
AccessKeysInner listKeys(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName) Primary and secondary connection strings to the hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.authorizationRuleName
- The authorization rule name.- Returns:
- namespace/Relay Connection String.
- 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.
-
listKeysWithResponse
com.azure.core.http.rest.Response<AccessKeysInner> listKeysWithResponse(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, com.azure.core.util.Context context) Primary and secondary connection strings to the hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.authorizationRuleName
- The authorization rule name.context
- The context to associate with this operation.- Returns:
- namespace/Relay Connection String 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.
-
regenerateKeys
AccessKeysInner regenerateKeys(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates the primary or secondary connection strings to the hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.authorizationRuleName
- The authorization rule name.parameters
- Parameters supplied to regenerate authorization rule.- Returns:
- namespace/Relay Connection String.
- 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.
-
regenerateKeysWithResponse
com.azure.core.http.rest.Response<AccessKeysInner> regenerateKeysWithResponse(String resourceGroupName, String namespaceName, String hybridConnectionName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, com.azure.core.util.Context context) Regenerates the primary or secondary connection strings to the hybrid connection.- Parameters:
resourceGroupName
- Name of the Resource group within the Azure subscription.namespaceName
- The namespace name.hybridConnectionName
- The hybrid connection name.authorizationRuleName
- The authorization rule name.parameters
- Parameters supplied to regenerate authorization rule.context
- The context to associate with this operation.- Returns:
- namespace/Relay Connection String 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.
-