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