Interface WcfRelays


public interface WcfRelays
Resource collection API of WcfRelays.
  • Method Details

    • listByNamespace

      com.azure.core.http.rest.PagedIterable<WcfRelay> 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<WcfRelay> 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.
    • delete

      void delete(String resourceGroupName, String namespaceName, String relayName)
      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

      WcfRelay get(String resourceGroupName, String namespaceName, String relayName)
      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<WcfRelay> 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<AuthorizationRule> 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<AuthorizationRule> 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

      AuthorizationRule 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<AuthorizationRule> 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

      AuthorizationRule 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<AuthorizationRule> 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

      AccessKeys 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<AccessKeys> 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

      AccessKeys 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<AccessKeys> 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.
    • getById

      WcfRelay getById(String id)
      Returns the description for the specified WCF relay.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<WcfRelay> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Returns the description for the specified WCF relay.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes a WCF relay.
      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

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes a WCF relay.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new WcfRelay resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new WcfRelay definition.