Documentation ¶
Overview ¶
Package relay implements the Azure ARM Relay service API version 2016-07-01.
Use these API to manage Azure Relay resources through Azure Resources Manager.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AccessRights
- type AuthorizationRule
- type AuthorizationRuleKeys
- type AuthorizationRuleListResult
- type AuthorizationRuleProperties
- type CheckNameAvailability
- type CheckNameAvailabilityResult
- type ErrorResponse
- type HybridConnection
- type HybridConnectionListResult
- type HybridConnectionProperties
- type HybridConnectionsClient
- func (client HybridConnectionsClient) CreateOrUpdate(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (result HybridConnection, err error)
- func (client HybridConnectionsClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (result AuthorizationRule, err error)
- func (client HybridConnectionsClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (*http.Request, error)
- func (client HybridConnectionsClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
- func (client HybridConnectionsClient) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client HybridConnectionsClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (*http.Request, error)
- func (client HybridConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result HybridConnection, err error)
- func (client HybridConnectionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client HybridConnectionsClient) Delete(resourceGroupName string, namespaceName string, hybridConnectionName string) (result autorest.Response, err error)
- func (client HybridConnectionsClient) DeleteAuthorizationRule(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (result autorest.Response, err error)
- func (client HybridConnectionsClient) DeleteAuthorizationRulePreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (*http.Request, error)
- func (client HybridConnectionsClient) DeleteAuthorizationRuleResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HybridConnectionsClient) DeleteAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client HybridConnectionsClient) DeletePreparer(resourceGroupName string, namespaceName string, hybridConnectionName string) (*http.Request, error)
- func (client HybridConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HybridConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client HybridConnectionsClient) Get(resourceGroupName string, namespaceName string, hybridConnectionName string) (result HybridConnection, err error)
- func (client HybridConnectionsClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (result AuthorizationRule, err error)
- func (client HybridConnectionsClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (*http.Request, error)
- func (client HybridConnectionsClient) GetAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
- func (client HybridConnectionsClient) GetAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client HybridConnectionsClient) GetPreparer(resourceGroupName string, namespaceName string, hybridConnectionName string) (*http.Request, error)
- func (client HybridConnectionsClient) GetResponder(resp *http.Response) (result HybridConnection, err error)
- func (client HybridConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client HybridConnectionsClient) ListAuthorizationRules(resourceGroupName string, namespaceName string, hybridConnectionName string) (result AuthorizationRuleListResult, err error)
- func (client HybridConnectionsClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (<-chan AuthorizationRule, <-chan error)
- func (client HybridConnectionsClient) ListAuthorizationRulesNextResults(lastResults AuthorizationRuleListResult) (result AuthorizationRuleListResult, err error)
- func (client HybridConnectionsClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string, hybridConnectionName string) (*http.Request, error)
- func (client HybridConnectionsClient) ListAuthorizationRulesResponder(resp *http.Response) (result AuthorizationRuleListResult, err error)
- func (client HybridConnectionsClient) ListAuthorizationRulesSender(req *http.Request) (*http.Response, error)
- func (client HybridConnectionsClient) ListByNamespace(resourceGroupName string, namespaceName string) (result HybridConnectionListResult, err error)
- func (client HybridConnectionsClient) ListByNamespaceComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan HybridConnection, <-chan error)
- func (client HybridConnectionsClient) ListByNamespaceNextResults(lastResults HybridConnectionListResult) (result HybridConnectionListResult, err error)
- func (client HybridConnectionsClient) ListByNamespacePreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
- func (client HybridConnectionsClient) ListByNamespaceResponder(resp *http.Response) (result HybridConnectionListResult, err error)
- func (client HybridConnectionsClient) ListByNamespaceSender(req *http.Request) (*http.Response, error)
- func (client HybridConnectionsClient) ListKeys(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (result AuthorizationRuleKeys, err error)
- func (client HybridConnectionsClient) ListKeysPreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (*http.Request, error)
- func (client HybridConnectionsClient) ListKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
- func (client HybridConnectionsClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client HybridConnectionsClient) RegenerateKeys(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (result AuthorizationRuleKeys, err error)
- func (client HybridConnectionsClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, ...) (*http.Request, error)
- func (client HybridConnectionsClient) RegenerateKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
- func (client HybridConnectionsClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)
- type ManagementClient
- type Namespace
- type NamespaceListResult
- type NamespaceProperties
- type NamespaceUpdateParameter
- type NamespacesClient
- func (client NamespacesClient) CheckNameAvailabilityMethod(parameters CheckNameAvailability) (result CheckNameAvailabilityResult, err error)
- func (client NamespacesClient) CheckNameAvailabilityMethodPreparer(parameters CheckNameAvailability) (*http.Request, error)
- func (client NamespacesClient) CheckNameAvailabilityMethodResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)
- func (client NamespacesClient) CheckNameAvailabilityMethodSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) CreateOrUpdate(resourceGroupName string, namespaceName string, parameters Namespace, ...) (<-chan Namespace, <-chan error)
- func (client NamespacesClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, authorizationRuleName string, ...) (result AuthorizationRule, err error)
- func (client NamespacesClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, authorizationRuleName string, ...) (*http.Request, error)
- func (client NamespacesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
- func (client NamespacesClient) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, parameters Namespace, ...) (*http.Request, error)
- func (client NamespacesClient) CreateOrUpdateResponder(resp *http.Response) (result Namespace, err error)
- func (client NamespacesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) Delete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
- func (client NamespacesClient) DeleteAuthorizationRule(resourceGroupName string, namespaceName string, authorizationRuleName string) (result autorest.Response, err error)
- func (client NamespacesClient) DeleteAuthorizationRulePreparer(resourceGroupName string, namespaceName string, authorizationRuleName string) (*http.Request, error)
- func (client NamespacesClient) DeleteAuthorizationRuleResponder(resp *http.Response) (result autorest.Response, err error)
- func (client NamespacesClient) DeleteAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) DeletePreparer(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (*http.Request, error)
- func (client NamespacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client NamespacesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) Get(resourceGroupName string, namespaceName string) (result Namespace, err error)
- func (client NamespacesClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, authorizationRuleName string) (result AuthorizationRule, err error)
- func (client NamespacesClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, authorizationRuleName string) (*http.Request, error)
- func (client NamespacesClient) GetAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
- func (client NamespacesClient) GetAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) GetPreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
- func (client NamespacesClient) GetResponder(resp *http.Response) (result Namespace, err error)
- func (client NamespacesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) List() (result NamespaceListResult, err error)
- func (client NamespacesClient) ListAuthorizationRules(resourceGroupName string, namespaceName string) (result AuthorizationRuleListResult, err error)
- func (client NamespacesClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan AuthorizationRule, <-chan error)
- func (client NamespacesClient) ListAuthorizationRulesNextResults(lastResults AuthorizationRuleListResult) (result AuthorizationRuleListResult, err error)
- func (client NamespacesClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
- func (client NamespacesClient) ListAuthorizationRulesResponder(resp *http.Response) (result AuthorizationRuleListResult, err error)
- func (client NamespacesClient) ListAuthorizationRulesSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) ListByResourceGroup(resourceGroupName string) (result NamespaceListResult, err error)
- func (client NamespacesClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Namespace, <-chan error)
- func (client NamespacesClient) ListByResourceGroupNextResults(lastResults NamespaceListResult) (result NamespaceListResult, err error)
- func (client NamespacesClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
- func (client NamespacesClient) ListByResourceGroupResponder(resp *http.Response) (result NamespaceListResult, err error)
- func (client NamespacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) ListComplete(cancel <-chan struct{}) (<-chan Namespace, <-chan error)
- func (client NamespacesClient) ListKeys(resourceGroupName string, namespaceName string, authorizationRuleName string) (result AuthorizationRuleKeys, err error)
- func (client NamespacesClient) ListKeysPreparer(resourceGroupName string, namespaceName string, authorizationRuleName string) (*http.Request, error)
- func (client NamespacesClient) ListKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
- func (client NamespacesClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) ListNextResults(lastResults NamespaceListResult) (result NamespaceListResult, err error)
- func (client NamespacesClient) ListPreparer() (*http.Request, error)
- func (client NamespacesClient) ListResponder(resp *http.Response) (result NamespaceListResult, err error)
- func (client NamespacesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) RegenerateKeys(resourceGroupName string, namespaceName string, authorizationRuleName string, ...) (result AuthorizationRuleKeys, err error)
- func (client NamespacesClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, authorizationRuleName string, ...) (*http.Request, error)
- func (client NamespacesClient) RegenerateKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
- func (client NamespacesClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) Update(resourceGroupName string, namespaceName string, ...) (result Namespace, err error)
- func (client NamespacesClient) UpdatePreparer(resourceGroupName string, namespaceName string, ...) (*http.Request, error)
- func (client NamespacesClient) UpdateResponder(resp *http.Response) (result Namespace, err error)
- func (client NamespacesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationsClient
- func (client OperationsClient) List() (result OperationListResult, err error)
- func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan Operation, <-chan error)
- func (client OperationsClient) ListNextResults(lastResults OperationListResult) (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer() (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PolicyKey
- type RegenerateKeysParameters
- type RelaytypeEnum
- type Resource
- type Sku
- type TrackedResource
- type UnavailableReason
- type WCFRelaysClient
- func (client WCFRelaysClient) CreateOrUpdate(resourceGroupName string, namespaceName string, relayName string, ...) (result WcfRelay, err error)
- func (client WCFRelaysClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, relayName string, ...) (result AuthorizationRule, err error)
- func (client WCFRelaysClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, relayName string, ...) (*http.Request, error)
- func (client WCFRelaysClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
- func (client WCFRelaysClient) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client WCFRelaysClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, relayName string, ...) (*http.Request, error)
- func (client WCFRelaysClient) CreateOrUpdateResponder(resp *http.Response) (result WcfRelay, err error)
- func (client WCFRelaysClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client WCFRelaysClient) Delete(resourceGroupName string, namespaceName string, relayName string) (result autorest.Response, err error)
- func (client WCFRelaysClient) DeleteAuthorizationRule(resourceGroupName string, namespaceName string, relayName string, ...) (result autorest.Response, err error)
- func (client WCFRelaysClient) DeleteAuthorizationRulePreparer(resourceGroupName string, namespaceName string, relayName string, ...) (*http.Request, error)
- func (client WCFRelaysClient) DeleteAuthorizationRuleResponder(resp *http.Response) (result autorest.Response, err error)
- func (client WCFRelaysClient) DeleteAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client WCFRelaysClient) DeletePreparer(resourceGroupName string, namespaceName string, relayName string) (*http.Request, error)
- func (client WCFRelaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client WCFRelaysClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client WCFRelaysClient) Get(resourceGroupName string, namespaceName string, relayName string) (result WcfRelay, err error)
- func (client WCFRelaysClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, relayName string, ...) (result AuthorizationRule, err error)
- func (client WCFRelaysClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, relayName string, ...) (*http.Request, error)
- func (client WCFRelaysClient) GetAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
- func (client WCFRelaysClient) GetAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client WCFRelaysClient) GetPreparer(resourceGroupName string, namespaceName string, relayName string) (*http.Request, error)
- func (client WCFRelaysClient) GetResponder(resp *http.Response) (result WcfRelay, err error)
- func (client WCFRelaysClient) GetSender(req *http.Request) (*http.Response, error)
- func (client WCFRelaysClient) ListAuthorizationRules(resourceGroupName string, namespaceName string, relayName string) (result AuthorizationRuleListResult, err error)
- func (client WCFRelaysClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, relayName string, ...) (<-chan AuthorizationRule, <-chan error)
- func (client WCFRelaysClient) ListAuthorizationRulesNextResults(lastResults AuthorizationRuleListResult) (result AuthorizationRuleListResult, err error)
- func (client WCFRelaysClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string, relayName string) (*http.Request, error)
- func (client WCFRelaysClient) ListAuthorizationRulesResponder(resp *http.Response) (result AuthorizationRuleListResult, err error)
- func (client WCFRelaysClient) ListAuthorizationRulesSender(req *http.Request) (*http.Response, error)
- func (client WCFRelaysClient) ListByNamespace(resourceGroupName string, namespaceName string) (result WcfRelaysListResult, err error)
- func (client WCFRelaysClient) ListByNamespaceComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan WcfRelay, <-chan error)
- func (client WCFRelaysClient) ListByNamespaceNextResults(lastResults WcfRelaysListResult) (result WcfRelaysListResult, err error)
- func (client WCFRelaysClient) ListByNamespacePreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
- func (client WCFRelaysClient) ListByNamespaceResponder(resp *http.Response) (result WcfRelaysListResult, err error)
- func (client WCFRelaysClient) ListByNamespaceSender(req *http.Request) (*http.Response, error)
- func (client WCFRelaysClient) ListKeys(resourceGroupName string, namespaceName string, relayName string, ...) (result AuthorizationRuleKeys, err error)
- func (client WCFRelaysClient) ListKeysPreparer(resourceGroupName string, namespaceName string, relayName string, ...) (*http.Request, error)
- func (client WCFRelaysClient) ListKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
- func (client WCFRelaysClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client WCFRelaysClient) RegenerateKeys(resourceGroupName string, namespaceName string, relayName string, ...) (result AuthorizationRuleKeys, err error)
- func (client WCFRelaysClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, relayName string, ...) (*http.Request, error)
- func (client WCFRelaysClient) RegenerateKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
- func (client WCFRelaysClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)
- type WcfRelay
- type WcfRelayProperties
- type WcfRelaysListResult
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Relay
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AccessRights ¶
type AccessRights string
AccessRights enumerates the values for access rights.
const ( // Listen specifies the listen state for access rights. Listen AccessRights = "Listen" // Manage specifies the manage state for access rights. Manage AccessRights = "Manage" // Send specifies the send state for access rights. Send AccessRights = "Send" )
type AuthorizationRule ¶
type AuthorizationRule struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *AuthorizationRuleProperties `json:"properties,omitempty"` }
AuthorizationRule is description of a Namespace AuthorizationRules.
type AuthorizationRuleKeys ¶
type AuthorizationRuleKeys struct { autorest.Response `json:"-"` PrimaryConnectionString *string `json:"primaryConnectionString,omitempty"` SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty"` PrimaryKey *string `json:"primaryKey,omitempty"` SecondaryKey *string `json:"secondaryKey,omitempty"` KeyName *string `json:"keyName,omitempty"` }
AuthorizationRuleKeys is namespace/Relay Connection String
type AuthorizationRuleListResult ¶
type AuthorizationRuleListResult struct { autorest.Response `json:"-"` Value *[]AuthorizationRule `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
AuthorizationRuleListResult is the response of the List Namespace operation.
func (AuthorizationRuleListResult) AuthorizationRuleListResultPreparer ¶
func (client AuthorizationRuleListResult) AuthorizationRuleListResultPreparer() (*http.Request, error)
AuthorizationRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type AuthorizationRuleProperties ¶
type AuthorizationRuleProperties struct {
Rights *[]AccessRights `json:"rights,omitempty"`
}
AuthorizationRuleProperties is authorizationRule properties.
type CheckNameAvailability ¶
type CheckNameAvailability struct {
Name *string `json:"name,omitempty"`
}
CheckNameAvailability is description of a Check Name availability request properties.
type CheckNameAvailabilityResult ¶
type CheckNameAvailabilityResult struct { autorest.Response `json:"-"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason UnavailableReason `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
CheckNameAvailabilityResult is description of a Check Name availability request properties.
type ErrorResponse ¶
type ErrorResponse struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
ErrorResponse is error reponse indicates Relay service is not able to process the incoming request. The reason is provided in the error message.
type HybridConnection ¶
type HybridConnection struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *HybridConnectionProperties `json:"properties,omitempty"` }
HybridConnection is description of HybridConnection Resource.
type HybridConnectionListResult ¶
type HybridConnectionListResult struct { autorest.Response `json:"-"` Value *[]HybridConnection `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
HybridConnectionListResult is the response of the List HybridConnection operation.
func (HybridConnectionListResult) HybridConnectionListResultPreparer ¶
func (client HybridConnectionListResult) HybridConnectionListResultPreparer() (*http.Request, error)
HybridConnectionListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type HybridConnectionProperties ¶
type HybridConnectionProperties struct { CreatedAt *date.Time `json:"createdAt,omitempty"` UpdatedAt *date.Time `json:"updatedAt,omitempty"` ListenerCount *int32 `json:"listenerCount,omitempty"` RequiresClientAuthorization *bool `json:"requiresClientAuthorization,omitempty"` UserMetadata *string `json:"userMetadata,omitempty"` }
HybridConnectionProperties is properties of the HybridConnection.
type HybridConnectionsClient ¶
type HybridConnectionsClient struct {
ManagementClient
}
HybridConnectionsClient is the use these API to manage Azure Relay resources through Azure Resources Manager.
func NewHybridConnectionsClient ¶
func NewHybridConnectionsClient(subscriptionID string) HybridConnectionsClient
NewHybridConnectionsClient creates an instance of the HybridConnectionsClient client.
func NewHybridConnectionsClientWithBaseURI ¶
func NewHybridConnectionsClientWithBaseURI(baseURI string, subscriptionID string) HybridConnectionsClient
NewHybridConnectionsClientWithBaseURI creates an instance of the HybridConnectionsClient client.
func (HybridConnectionsClient) CreateOrUpdate ¶
func (client HybridConnectionsClient) CreateOrUpdate(resourceGroupName string, namespaceName string, hybridConnectionName string, parameters HybridConnection) (result HybridConnection, err error)
CreateOrUpdate creates or Updates a service HybridConnection. This operation is idempotent.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name hybridConnectionName is the hybrid connection name. parameters is parameters supplied to create a HybridConnection.
func (HybridConnectionsClient) CreateOrUpdateAuthorizationRule ¶
func (client HybridConnectionsClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string, parameters AuthorizationRule) (result AuthorizationRule, err error)
CreateOrUpdateAuthorizationRule creates or Updates an authorization rule for a HybridConnection
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name hybridConnectionName is the hybrid connection name. authorizationRuleName is the authorizationRule name. parameters is the authorization rule parameters
func (HybridConnectionsClient) CreateOrUpdateAuthorizationRulePreparer ¶
func (client HybridConnectionsClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string, parameters AuthorizationRule) (*http.Request, error)
CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.
func (HybridConnectionsClient) CreateOrUpdateAuthorizationRuleResponder ¶
func (client HybridConnectionsClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
CreateOrUpdateAuthorizationRuleResponder handles the response to the CreateOrUpdateAuthorizationRule request. The method always closes the http.Response Body.
func (HybridConnectionsClient) CreateOrUpdateAuthorizationRuleSender ¶
func (client HybridConnectionsClient) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error)
CreateOrUpdateAuthorizationRuleSender sends the CreateOrUpdateAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (HybridConnectionsClient) CreateOrUpdatePreparer ¶
func (client HybridConnectionsClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, parameters HybridConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (HybridConnectionsClient) CreateOrUpdateResponder ¶
func (client HybridConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result HybridConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (HybridConnectionsClient) CreateOrUpdateSender ¶
func (client HybridConnectionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (HybridConnectionsClient) Delete ¶
func (client HybridConnectionsClient) Delete(resourceGroupName string, namespaceName string, hybridConnectionName string) (result autorest.Response, err error)
Delete deletes a HybridConnection .
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name hybridConnectionName is the hybrid connection name.
func (HybridConnectionsClient) DeleteAuthorizationRule ¶
func (client HybridConnectionsClient) DeleteAuthorizationRule(resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string) (result autorest.Response, err error)
DeleteAuthorizationRule deletes a HybridConnection authorization rule
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name hybridConnectionName is the hybrid connection name. authorizationRuleName is the authorizationRule name.
func (HybridConnectionsClient) DeleteAuthorizationRulePreparer ¶
func (client HybridConnectionsClient) DeleteAuthorizationRulePreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string) (*http.Request, error)
DeleteAuthorizationRulePreparer prepares the DeleteAuthorizationRule request.
func (HybridConnectionsClient) DeleteAuthorizationRuleResponder ¶
func (client HybridConnectionsClient) DeleteAuthorizationRuleResponder(resp *http.Response) (result autorest.Response, err error)
DeleteAuthorizationRuleResponder handles the response to the DeleteAuthorizationRule request. The method always closes the http.Response Body.
func (HybridConnectionsClient) DeleteAuthorizationRuleSender ¶
func (client HybridConnectionsClient) DeleteAuthorizationRuleSender(req *http.Request) (*http.Response, error)
DeleteAuthorizationRuleSender sends the DeleteAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (HybridConnectionsClient) DeletePreparer ¶
func (client HybridConnectionsClient) DeletePreparer(resourceGroupName string, namespaceName string, hybridConnectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (HybridConnectionsClient) DeleteResponder ¶
func (client HybridConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (HybridConnectionsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (HybridConnectionsClient) Get ¶
func (client HybridConnectionsClient) Get(resourceGroupName string, namespaceName string, hybridConnectionName string) (result HybridConnection, err error)
Get returns the description for the specified HybridConnection.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name hybridConnectionName is the hybrid connection name.
func (HybridConnectionsClient) GetAuthorizationRule ¶
func (client HybridConnectionsClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string) (result AuthorizationRule, err error)
GetAuthorizationRule hybridConnection authorizationRule for a HybridConnection by name.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name hybridConnectionName is the hybrid connection name. authorizationRuleName is the authorizationRule name.
func (HybridConnectionsClient) GetAuthorizationRulePreparer ¶
func (client HybridConnectionsClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string) (*http.Request, error)
GetAuthorizationRulePreparer prepares the GetAuthorizationRule request.
func (HybridConnectionsClient) GetAuthorizationRuleResponder ¶
func (client HybridConnectionsClient) GetAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
GetAuthorizationRuleResponder handles the response to the GetAuthorizationRule request. The method always closes the http.Response Body.
func (HybridConnectionsClient) GetAuthorizationRuleSender ¶
func (client HybridConnectionsClient) GetAuthorizationRuleSender(req *http.Request) (*http.Response, error)
GetAuthorizationRuleSender sends the GetAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (HybridConnectionsClient) GetPreparer ¶
func (client HybridConnectionsClient) GetPreparer(resourceGroupName string, namespaceName string, hybridConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (HybridConnectionsClient) GetResponder ¶
func (client HybridConnectionsClient) GetResponder(resp *http.Response) (result HybridConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (HybridConnectionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (HybridConnectionsClient) ListAuthorizationRules ¶
func (client HybridConnectionsClient) ListAuthorizationRules(resourceGroupName string, namespaceName string, hybridConnectionName string) (result AuthorizationRuleListResult, err error)
ListAuthorizationRules authorization rules for a HybridConnection.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name hybridConnectionName is the hybrid connection name.
func (HybridConnectionsClient) ListAuthorizationRulesComplete ¶
func (client HybridConnectionsClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, hybridConnectionName string, cancel <-chan struct{}) (<-chan AuthorizationRule, <-chan error)
ListAuthorizationRulesComplete gets all elements from the list without paging.
func (HybridConnectionsClient) ListAuthorizationRulesNextResults ¶
func (client HybridConnectionsClient) ListAuthorizationRulesNextResults(lastResults AuthorizationRuleListResult) (result AuthorizationRuleListResult, err error)
ListAuthorizationRulesNextResults retrieves the next set of results, if any.
func (HybridConnectionsClient) ListAuthorizationRulesPreparer ¶
func (client HybridConnectionsClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string, hybridConnectionName string) (*http.Request, error)
ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.
func (HybridConnectionsClient) ListAuthorizationRulesResponder ¶
func (client HybridConnectionsClient) ListAuthorizationRulesResponder(resp *http.Response) (result AuthorizationRuleListResult, err error)
ListAuthorizationRulesResponder handles the response to the ListAuthorizationRules request. The method always closes the http.Response Body.
func (HybridConnectionsClient) ListAuthorizationRulesSender ¶
func (client HybridConnectionsClient) ListAuthorizationRulesSender(req *http.Request) (*http.Response, error)
ListAuthorizationRulesSender sends the ListAuthorizationRules request. The method will close the http.Response Body if it receives an error.
func (HybridConnectionsClient) ListByNamespace ¶
func (client HybridConnectionsClient) ListByNamespace(resourceGroupName string, namespaceName string) (result HybridConnectionListResult, err error)
ListByNamespace lists the HybridConnection within the namespace.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name
func (HybridConnectionsClient) ListByNamespaceComplete ¶
func (client HybridConnectionsClient) ListByNamespaceComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan HybridConnection, <-chan error)
ListByNamespaceComplete gets all elements from the list without paging.
func (HybridConnectionsClient) ListByNamespaceNextResults ¶
func (client HybridConnectionsClient) ListByNamespaceNextResults(lastResults HybridConnectionListResult) (result HybridConnectionListResult, err error)
ListByNamespaceNextResults retrieves the next set of results, if any.
func (HybridConnectionsClient) ListByNamespacePreparer ¶
func (client HybridConnectionsClient) ListByNamespacePreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
ListByNamespacePreparer prepares the ListByNamespace request.
func (HybridConnectionsClient) ListByNamespaceResponder ¶
func (client HybridConnectionsClient) ListByNamespaceResponder(resp *http.Response) (result HybridConnectionListResult, err error)
ListByNamespaceResponder handles the response to the ListByNamespace request. The method always closes the http.Response Body.
func (HybridConnectionsClient) ListByNamespaceSender ¶
func (client HybridConnectionsClient) ListByNamespaceSender(req *http.Request) (*http.Response, error)
ListByNamespaceSender sends the ListByNamespace request. The method will close the http.Response Body if it receives an error.
func (HybridConnectionsClient) ListKeys ¶
func (client HybridConnectionsClient) ListKeys(resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string) (result AuthorizationRuleKeys, err error)
ListKeys primary and Secondary ConnectionStrings to the HybridConnection.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name hybridConnectionName is the hybrid connection name. authorizationRuleName is the authorizationRule name.
func (HybridConnectionsClient) ListKeysPreparer ¶
func (client HybridConnectionsClient) ListKeysPreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (HybridConnectionsClient) ListKeysResponder ¶
func (client HybridConnectionsClient) ListKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (HybridConnectionsClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (HybridConnectionsClient) RegenerateKeys ¶
func (client HybridConnectionsClient) RegenerateKeys(resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string, parameters RegenerateKeysParameters) (result AuthorizationRuleKeys, err error)
RegenerateKeys regenerates the Primary or Secondary ConnectionStrings to the HybridConnection
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name hybridConnectionName is the hybrid connection name. authorizationRuleName is the authorizationRule name. parameters is parameters supplied to regenerate Auth Rule.
func (HybridConnectionsClient) RegenerateKeysPreparer ¶
func (client HybridConnectionsClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string, parameters RegenerateKeysParameters) (*http.Request, error)
RegenerateKeysPreparer prepares the RegenerateKeys request.
func (HybridConnectionsClient) RegenerateKeysResponder ¶
func (client HybridConnectionsClient) RegenerateKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.
func (HybridConnectionsClient) RegenerateKeysSender ¶
func (client HybridConnectionsClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)
RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.
type ManagementClient ¶
ManagementClient is the base client for Relay.
func New ¶
func New(subscriptionID string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
type Namespace ¶
type Namespace struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Sku *Sku `json:"sku,omitempty"` *NamespaceProperties `json:"properties,omitempty"` }
Namespace is description of a Namespace resource.
type NamespaceListResult ¶
type NamespaceListResult struct { autorest.Response `json:"-"` Value *[]Namespace `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
NamespaceListResult is the response of the List Namespace operation.
func (NamespaceListResult) NamespaceListResultPreparer ¶
func (client NamespaceListResult) NamespaceListResultPreparer() (*http.Request, error)
NamespaceListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type NamespaceProperties ¶
type NamespaceProperties struct { ProvisioningState *string `json:"provisioningState,omitempty"` CreatedAt *date.Time `json:"createdAt,omitempty"` UpdatedAt *date.Time `json:"updatedAt,omitempty"` ServiceBusEndpoint *string `json:"serviceBusEndpoint,omitempty"` MetricID *string `json:"metricId,omitempty"` }
NamespaceProperties is properties of the Namespace.
type NamespaceUpdateParameter ¶
type NamespaceUpdateParameter struct { Tags *map[string]*string `json:"tags,omitempty"` Sku *Sku `json:"sku,omitempty"` }
NamespaceUpdateParameter is parameters supplied to the Patch Namespace operation.
type NamespacesClient ¶
type NamespacesClient struct {
ManagementClient
}
NamespacesClient is the use these API to manage Azure Relay resources through Azure Resources Manager.
func NewNamespacesClient ¶
func NewNamespacesClient(subscriptionID string) NamespacesClient
NewNamespacesClient creates an instance of the NamespacesClient client.
func NewNamespacesClientWithBaseURI ¶
func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient
NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client.
func (NamespacesClient) CheckNameAvailabilityMethod ¶
func (client NamespacesClient) CheckNameAvailabilityMethod(parameters CheckNameAvailability) (result CheckNameAvailabilityResult, err error)
CheckNameAvailabilityMethod check the give namespace name availability.
parameters is parameters to check availability of the given namespace name
func (NamespacesClient) CheckNameAvailabilityMethodPreparer ¶
func (client NamespacesClient) CheckNameAvailabilityMethodPreparer(parameters CheckNameAvailability) (*http.Request, error)
CheckNameAvailabilityMethodPreparer prepares the CheckNameAvailabilityMethod request.
func (NamespacesClient) CheckNameAvailabilityMethodResponder ¶
func (client NamespacesClient) CheckNameAvailabilityMethodResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)
CheckNameAvailabilityMethodResponder handles the response to the CheckNameAvailabilityMethod request. The method always closes the http.Response Body.
func (NamespacesClient) CheckNameAvailabilityMethodSender ¶
func (client NamespacesClient) CheckNameAvailabilityMethodSender(req *http.Request) (*http.Response, error)
CheckNameAvailabilityMethodSender sends the CheckNameAvailabilityMethod request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) CreateOrUpdate ¶
func (client NamespacesClient) CreateOrUpdate(resourceGroupName string, namespaceName string, parameters Namespace, cancel <-chan struct{}) (<-chan Namespace, <-chan error)
CreateOrUpdate create Azure Relay namespace. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name parameters is parameters supplied to create a Namespace Resource.
func (NamespacesClient) CreateOrUpdateAuthorizationRule ¶
func (client NamespacesClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, authorizationRuleName string, parameters AuthorizationRule) (result AuthorizationRule, err error)
CreateOrUpdateAuthorizationRule creates or Updates an authorization rule for a namespace
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name authorizationRuleName is the authorizationRule name. parameters is the authorization rule parameters
func (NamespacesClient) CreateOrUpdateAuthorizationRulePreparer ¶
func (client NamespacesClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, authorizationRuleName string, parameters AuthorizationRule) (*http.Request, error)
CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.
func (NamespacesClient) CreateOrUpdateAuthorizationRuleResponder ¶
func (client NamespacesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
CreateOrUpdateAuthorizationRuleResponder handles the response to the CreateOrUpdateAuthorizationRule request. The method always closes the http.Response Body.
func (NamespacesClient) CreateOrUpdateAuthorizationRuleSender ¶
func (client NamespacesClient) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error)
CreateOrUpdateAuthorizationRuleSender sends the CreateOrUpdateAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) CreateOrUpdatePreparer ¶
func (client NamespacesClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, parameters Namespace, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (NamespacesClient) CreateOrUpdateResponder ¶
func (client NamespacesClient) CreateOrUpdateResponder(resp *http.Response) (result Namespace, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (NamespacesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) Delete ¶
func (client NamespacesClient) Delete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete deletes an existing namespace. This operation also removes all associated resources under the namespace. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name
func (NamespacesClient) DeleteAuthorizationRule ¶
func (client NamespacesClient) DeleteAuthorizationRule(resourceGroupName string, namespaceName string, authorizationRuleName string) (result autorest.Response, err error)
DeleteAuthorizationRule deletes a namespace authorization rule
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name authorizationRuleName is the authorizationRule name.
func (NamespacesClient) DeleteAuthorizationRulePreparer ¶
func (client NamespacesClient) DeleteAuthorizationRulePreparer(resourceGroupName string, namespaceName string, authorizationRuleName string) (*http.Request, error)
DeleteAuthorizationRulePreparer prepares the DeleteAuthorizationRule request.
func (NamespacesClient) DeleteAuthorizationRuleResponder ¶
func (client NamespacesClient) DeleteAuthorizationRuleResponder(resp *http.Response) (result autorest.Response, err error)
DeleteAuthorizationRuleResponder handles the response to the DeleteAuthorizationRule request. The method always closes the http.Response Body.
func (NamespacesClient) DeleteAuthorizationRuleSender ¶
func (client NamespacesClient) DeleteAuthorizationRuleSender(req *http.Request) (*http.Response, error)
DeleteAuthorizationRuleSender sends the DeleteAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) DeletePreparer ¶
func (client NamespacesClient) DeletePreparer(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (NamespacesClient) DeleteResponder ¶
func (client NamespacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (NamespacesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) Get ¶
func (client NamespacesClient) Get(resourceGroupName string, namespaceName string) (result Namespace, err error)
Get returns the description for the specified namespace.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name
func (NamespacesClient) GetAuthorizationRule ¶
func (client NamespacesClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, authorizationRuleName string) (result AuthorizationRule, err error)
GetAuthorizationRule authorization rule for a namespace by name.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name authorizationRuleName is the authorizationRule name.
func (NamespacesClient) GetAuthorizationRulePreparer ¶
func (client NamespacesClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, authorizationRuleName string) (*http.Request, error)
GetAuthorizationRulePreparer prepares the GetAuthorizationRule request.
func (NamespacesClient) GetAuthorizationRuleResponder ¶
func (client NamespacesClient) GetAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
GetAuthorizationRuleResponder handles the response to the GetAuthorizationRule request. The method always closes the http.Response Body.
func (NamespacesClient) GetAuthorizationRuleSender ¶
func (client NamespacesClient) GetAuthorizationRuleSender(req *http.Request) (*http.Response, error)
GetAuthorizationRuleSender sends the GetAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) GetPreparer ¶
func (client NamespacesClient) GetPreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (NamespacesClient) GetResponder ¶
func (client NamespacesClient) GetResponder(resp *http.Response) (result Namespace, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (NamespacesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) List ¶
func (client NamespacesClient) List() (result NamespaceListResult, err error)
List lists all the available namespaces within the subscription irrespective of the resourceGroups.
func (NamespacesClient) ListAuthorizationRules ¶
func (client NamespacesClient) ListAuthorizationRules(resourceGroupName string, namespaceName string) (result AuthorizationRuleListResult, err error)
ListAuthorizationRules authorization rules for a namespace.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name
func (NamespacesClient) ListAuthorizationRulesComplete ¶
func (client NamespacesClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan AuthorizationRule, <-chan error)
ListAuthorizationRulesComplete gets all elements from the list without paging.
func (NamespacesClient) ListAuthorizationRulesNextResults ¶
func (client NamespacesClient) ListAuthorizationRulesNextResults(lastResults AuthorizationRuleListResult) (result AuthorizationRuleListResult, err error)
ListAuthorizationRulesNextResults retrieves the next set of results, if any.
func (NamespacesClient) ListAuthorizationRulesPreparer ¶
func (client NamespacesClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.
func (NamespacesClient) ListAuthorizationRulesResponder ¶
func (client NamespacesClient) ListAuthorizationRulesResponder(resp *http.Response) (result AuthorizationRuleListResult, err error)
ListAuthorizationRulesResponder handles the response to the ListAuthorizationRules request. The method always closes the http.Response Body.
func (NamespacesClient) ListAuthorizationRulesSender ¶
func (client NamespacesClient) ListAuthorizationRulesSender(req *http.Request) (*http.Response, error)
ListAuthorizationRulesSender sends the ListAuthorizationRules request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) ListByResourceGroup ¶
func (client NamespacesClient) ListByResourceGroup(resourceGroupName string) (result NamespaceListResult, err error)
ListByResourceGroup lists all the available namespaces within the ResourceGroup.
resourceGroupName is name of the Resource group within the Azure subscription.
func (NamespacesClient) ListByResourceGroupComplete ¶
func (client NamespacesClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Namespace, <-chan error)
ListByResourceGroupComplete gets all elements from the list without paging.
func (NamespacesClient) ListByResourceGroupNextResults ¶
func (client NamespacesClient) ListByResourceGroupNextResults(lastResults NamespaceListResult) (result NamespaceListResult, err error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (NamespacesClient) ListByResourceGroupPreparer ¶
func (client NamespacesClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (NamespacesClient) ListByResourceGroupResponder ¶
func (client NamespacesClient) ListByResourceGroupResponder(resp *http.Response) (result NamespaceListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (NamespacesClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) ListComplete ¶
func (client NamespacesClient) ListComplete(cancel <-chan struct{}) (<-chan Namespace, <-chan error)
ListComplete gets all elements from the list without paging.
func (NamespacesClient) ListKeys ¶
func (client NamespacesClient) ListKeys(resourceGroupName string, namespaceName string, authorizationRuleName string) (result AuthorizationRuleKeys, err error)
ListKeys primary and Secondary ConnectionStrings to the namespace
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name authorizationRuleName is the authorizationRule name.
func (NamespacesClient) ListKeysPreparer ¶
func (client NamespacesClient) ListKeysPreparer(resourceGroupName string, namespaceName string, authorizationRuleName string) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (NamespacesClient) ListKeysResponder ¶
func (client NamespacesClient) ListKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (NamespacesClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) ListNextResults ¶
func (client NamespacesClient) ListNextResults(lastResults NamespaceListResult) (result NamespaceListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (NamespacesClient) ListPreparer ¶
func (client NamespacesClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (NamespacesClient) ListResponder ¶
func (client NamespacesClient) ListResponder(resp *http.Response) (result NamespaceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (NamespacesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) RegenerateKeys ¶
func (client NamespacesClient) RegenerateKeys(resourceGroupName string, namespaceName string, authorizationRuleName string, parameters RegenerateKeysParameters) (result AuthorizationRuleKeys, err error)
RegenerateKeys regenerates the Primary or Secondary ConnectionStrings to the namespace
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name authorizationRuleName is the authorizationRule name. parameters is parameters supplied to regenerate Auth Rule.
func (NamespacesClient) RegenerateKeysPreparer ¶
func (client NamespacesClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, authorizationRuleName string, parameters RegenerateKeysParameters) (*http.Request, error)
RegenerateKeysPreparer prepares the RegenerateKeys request.
func (NamespacesClient) RegenerateKeysResponder ¶
func (client NamespacesClient) RegenerateKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.
func (NamespacesClient) RegenerateKeysSender ¶
RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) Update ¶
func (client NamespacesClient) Update(resourceGroupName string, namespaceName string, parameters NamespaceUpdateParameter) (result Namespace, err error)
Update creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name parameters is parameters for updating a namespace resource.
func (NamespacesClient) UpdatePreparer ¶
func (client NamespacesClient) UpdatePreparer(resourceGroupName string, namespaceName string, parameters NamespaceUpdateParameter) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (NamespacesClient) UpdateResponder ¶
func (client NamespacesClient) UpdateResponder(resp *http.Response) (result Namespace, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (NamespacesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type Operation ¶
type Operation struct { Name *string `json:"name,omitempty"` Display *OperationDisplay `json:"display,omitempty"` }
Operation is a EventHub REST API operation
type OperationDisplay ¶
type OperationDisplay struct { Provider *string `json:"provider,omitempty"` Resource *string `json:"resource,omitempty"` Operation *string `json:"operation,omitempty"` }
OperationDisplay is the object that represents the operation.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` Value *[]Operation `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
OperationListResult is result of the request to list EventHub operations. It contains a list of operations and a URL link to get the next set of results.
func (OperationListResult) OperationListResultPreparer ¶
func (client OperationListResult) OperationListResultPreparer() (*http.Request, error)
OperationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type OperationsClient ¶
type OperationsClient struct {
ManagementClient
}
OperationsClient is the use these API to manage Azure Relay resources through Azure Resources Manager.
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List() (result OperationListResult, err error)
List lists all of the available Relay REST API operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan Operation, <-chan error)
ListComplete gets all elements from the list without paging.
func (OperationsClient) ListNextResults ¶
func (client OperationsClient) ListNextResults(lastResults OperationListResult) (result OperationListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (OperationsClient) ListPreparer ¶
func (client OperationsClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type RegenerateKeysParameters ¶
type RegenerateKeysParameters struct {
PolicyKey PolicyKey `json:"policyKey,omitempty"`
}
RegenerateKeysParameters is parameters supplied to the Regenerate Authorization Rule operation.
type RelaytypeEnum ¶
type RelaytypeEnum string
RelaytypeEnum enumerates the values for relaytype enum.
const ( // HTTP specifies the http state for relaytype enum. HTTP RelaytypeEnum = "Http" // NetTCP specifies the net tcp state for relaytype enum. NetTCP RelaytypeEnum = "NetTcp" )
type Resource ¶
type Resource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
Resource is the Resource definition
type TrackedResource ¶
type TrackedResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
TrackedResource is definition of Resource
type UnavailableReason ¶
type UnavailableReason string
UnavailableReason enumerates the values for unavailable reason.
const ( // InvalidName specifies the invalid name state for unavailable reason. InvalidName UnavailableReason = "InvalidName" // NameInLockdown specifies the name in lockdown state for unavailable reason. NameInLockdown UnavailableReason = "NameInLockdown" // NameInUse specifies the name in use state for unavailable reason. NameInUse UnavailableReason = "NameInUse" // None specifies the none state for unavailable reason. None UnavailableReason = "None" // SubscriptionIsDisabled specifies the subscription is disabled state for unavailable reason. SubscriptionIsDisabled UnavailableReason = "SubscriptionIsDisabled" // TooManyNamespaceInCurrentSubscription specifies the too many namespace in current subscription state for unavailable // reason. TooManyNamespaceInCurrentSubscription UnavailableReason = "TooManyNamespaceInCurrentSubscription" )
type WCFRelaysClient ¶
type WCFRelaysClient struct {
ManagementClient
}
WCFRelaysClient is the use these API to manage Azure Relay resources through Azure Resources Manager.
func NewWCFRelaysClient ¶
func NewWCFRelaysClient(subscriptionID string) WCFRelaysClient
NewWCFRelaysClient creates an instance of the WCFRelaysClient client.
func NewWCFRelaysClientWithBaseURI ¶
func NewWCFRelaysClientWithBaseURI(baseURI string, subscriptionID string) WCFRelaysClient
NewWCFRelaysClientWithBaseURI creates an instance of the WCFRelaysClient client.
func (WCFRelaysClient) CreateOrUpdate ¶
func (client WCFRelaysClient) CreateOrUpdate(resourceGroupName string, namespaceName string, relayName string, parameters WcfRelay) (result WcfRelay, err error)
CreateOrUpdate creates or Updates a WCFRelay. This operation is idempotent.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name relayName is the relay name parameters is parameters supplied to create a WCFRelays.
func (WCFRelaysClient) CreateOrUpdateAuthorizationRule ¶
func (client WCFRelaysClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string, parameters AuthorizationRule) (result AuthorizationRule, err error)
CreateOrUpdateAuthorizationRule creates or Updates an authorization rule for a WCFRelays
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name relayName is the relay name authorizationRuleName is the authorizationRule name. parameters is the authorization rule parameters.
func (WCFRelaysClient) CreateOrUpdateAuthorizationRulePreparer ¶
func (client WCFRelaysClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string, parameters AuthorizationRule) (*http.Request, error)
CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.
func (WCFRelaysClient) CreateOrUpdateAuthorizationRuleResponder ¶
func (client WCFRelaysClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
CreateOrUpdateAuthorizationRuleResponder handles the response to the CreateOrUpdateAuthorizationRule request. The method always closes the http.Response Body.
func (WCFRelaysClient) CreateOrUpdateAuthorizationRuleSender ¶
func (client WCFRelaysClient) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error)
CreateOrUpdateAuthorizationRuleSender sends the CreateOrUpdateAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (WCFRelaysClient) CreateOrUpdatePreparer ¶
func (client WCFRelaysClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, relayName string, parameters WcfRelay) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (WCFRelaysClient) CreateOrUpdateResponder ¶
func (client WCFRelaysClient) CreateOrUpdateResponder(resp *http.Response) (result WcfRelay, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (WCFRelaysClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (WCFRelaysClient) Delete ¶
func (client WCFRelaysClient) Delete(resourceGroupName string, namespaceName string, relayName string) (result autorest.Response, err error)
Delete deletes a WCFRelays .
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name relayName is the relay name
func (WCFRelaysClient) DeleteAuthorizationRule ¶
func (client WCFRelaysClient) DeleteAuthorizationRule(resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string) (result autorest.Response, err error)
DeleteAuthorizationRule deletes a WCFRelays authorization rule
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name relayName is the relay name authorizationRuleName is the authorizationRule name.
func (WCFRelaysClient) DeleteAuthorizationRulePreparer ¶
func (client WCFRelaysClient) DeleteAuthorizationRulePreparer(resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string) (*http.Request, error)
DeleteAuthorizationRulePreparer prepares the DeleteAuthorizationRule request.
func (WCFRelaysClient) DeleteAuthorizationRuleResponder ¶
func (client WCFRelaysClient) DeleteAuthorizationRuleResponder(resp *http.Response) (result autorest.Response, err error)
DeleteAuthorizationRuleResponder handles the response to the DeleteAuthorizationRule request. The method always closes the http.Response Body.
func (WCFRelaysClient) DeleteAuthorizationRuleSender ¶
func (client WCFRelaysClient) DeleteAuthorizationRuleSender(req *http.Request) (*http.Response, error)
DeleteAuthorizationRuleSender sends the DeleteAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (WCFRelaysClient) DeletePreparer ¶
func (client WCFRelaysClient) DeletePreparer(resourceGroupName string, namespaceName string, relayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (WCFRelaysClient) DeleteResponder ¶
func (client WCFRelaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (WCFRelaysClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (WCFRelaysClient) Get ¶
func (client WCFRelaysClient) Get(resourceGroupName string, namespaceName string, relayName string) (result WcfRelay, err error)
Get returns the description for the specified WCFRelays.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name relayName is the relay name
func (WCFRelaysClient) GetAuthorizationRule ¶
func (client WCFRelaysClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string) (result AuthorizationRule, err error)
GetAuthorizationRule get authorizationRule for a WCFRelays by name.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name relayName is the relay name authorizationRuleName is the authorizationRule name.
func (WCFRelaysClient) GetAuthorizationRulePreparer ¶
func (client WCFRelaysClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string) (*http.Request, error)
GetAuthorizationRulePreparer prepares the GetAuthorizationRule request.
func (WCFRelaysClient) GetAuthorizationRuleResponder ¶
func (client WCFRelaysClient) GetAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)
GetAuthorizationRuleResponder handles the response to the GetAuthorizationRule request. The method always closes the http.Response Body.
func (WCFRelaysClient) GetAuthorizationRuleSender ¶
GetAuthorizationRuleSender sends the GetAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (WCFRelaysClient) GetPreparer ¶
func (client WCFRelaysClient) GetPreparer(resourceGroupName string, namespaceName string, relayName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (WCFRelaysClient) GetResponder ¶
func (client WCFRelaysClient) GetResponder(resp *http.Response) (result WcfRelay, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (WCFRelaysClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (WCFRelaysClient) ListAuthorizationRules ¶
func (client WCFRelaysClient) ListAuthorizationRules(resourceGroupName string, namespaceName string, relayName string) (result AuthorizationRuleListResult, err error)
ListAuthorizationRules authorization rules for a WCFRelays.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name relayName is the relay name
func (WCFRelaysClient) ListAuthorizationRulesComplete ¶
func (client WCFRelaysClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, relayName string, cancel <-chan struct{}) (<-chan AuthorizationRule, <-chan error)
ListAuthorizationRulesComplete gets all elements from the list without paging.
func (WCFRelaysClient) ListAuthorizationRulesNextResults ¶
func (client WCFRelaysClient) ListAuthorizationRulesNextResults(lastResults AuthorizationRuleListResult) (result AuthorizationRuleListResult, err error)
ListAuthorizationRulesNextResults retrieves the next set of results, if any.
func (WCFRelaysClient) ListAuthorizationRulesPreparer ¶
func (client WCFRelaysClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string, relayName string) (*http.Request, error)
ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.
func (WCFRelaysClient) ListAuthorizationRulesResponder ¶
func (client WCFRelaysClient) ListAuthorizationRulesResponder(resp *http.Response) (result AuthorizationRuleListResult, err error)
ListAuthorizationRulesResponder handles the response to the ListAuthorizationRules request. The method always closes the http.Response Body.
func (WCFRelaysClient) ListAuthorizationRulesSender ¶
func (client WCFRelaysClient) ListAuthorizationRulesSender(req *http.Request) (*http.Response, error)
ListAuthorizationRulesSender sends the ListAuthorizationRules request. The method will close the http.Response Body if it receives an error.
func (WCFRelaysClient) ListByNamespace ¶
func (client WCFRelaysClient) ListByNamespace(resourceGroupName string, namespaceName string) (result WcfRelaysListResult, err error)
ListByNamespace lists the WCFRelays within the namespace.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name
func (WCFRelaysClient) ListByNamespaceComplete ¶
func (client WCFRelaysClient) ListByNamespaceComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan WcfRelay, <-chan error)
ListByNamespaceComplete gets all elements from the list without paging.
func (WCFRelaysClient) ListByNamespaceNextResults ¶
func (client WCFRelaysClient) ListByNamespaceNextResults(lastResults WcfRelaysListResult) (result WcfRelaysListResult, err error)
ListByNamespaceNextResults retrieves the next set of results, if any.
func (WCFRelaysClient) ListByNamespacePreparer ¶
func (client WCFRelaysClient) ListByNamespacePreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
ListByNamespacePreparer prepares the ListByNamespace request.
func (WCFRelaysClient) ListByNamespaceResponder ¶
func (client WCFRelaysClient) ListByNamespaceResponder(resp *http.Response) (result WcfRelaysListResult, err error)
ListByNamespaceResponder handles the response to the ListByNamespace request. The method always closes the http.Response Body.
func (WCFRelaysClient) ListByNamespaceSender ¶
ListByNamespaceSender sends the ListByNamespace request. The method will close the http.Response Body if it receives an error.
func (WCFRelaysClient) ListKeys ¶
func (client WCFRelaysClient) ListKeys(resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string) (result AuthorizationRuleKeys, err error)
ListKeys primary and Secondary ConnectionStrings to the WCFRelays.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name relayName is the relay name authorizationRuleName is the authorizationRule name.
func (WCFRelaysClient) ListKeysPreparer ¶
func (client WCFRelaysClient) ListKeysPreparer(resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (WCFRelaysClient) ListKeysResponder ¶
func (client WCFRelaysClient) ListKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (WCFRelaysClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (WCFRelaysClient) RegenerateKeys ¶
func (client WCFRelaysClient) RegenerateKeys(resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string, parameters RegenerateKeysParameters) (result AuthorizationRuleKeys, err error)
RegenerateKeys regenerates the Primary or Secondary ConnectionStrings to the WCFRelays
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the Namespace Name relayName is the relay name authorizationRuleName is the authorizationRule name. parameters is parameters supplied to regenerate Auth Rule.
func (WCFRelaysClient) RegenerateKeysPreparer ¶
func (client WCFRelaysClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string, parameters RegenerateKeysParameters) (*http.Request, error)
RegenerateKeysPreparer prepares the RegenerateKeys request.
func (WCFRelaysClient) RegenerateKeysResponder ¶
func (client WCFRelaysClient) RegenerateKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)
RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.
func (WCFRelaysClient) RegenerateKeysSender ¶
RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.
type WcfRelay ¶
type WcfRelay struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *WcfRelayProperties `json:"properties,omitempty"` }
WcfRelay is description of WcfRelays Resource.
type WcfRelayProperties ¶
type WcfRelayProperties struct { RelayType RelaytypeEnum `json:"relayType,omitempty"` CreatedAt *date.Time `json:"createdAt,omitempty"` UpdatedAt *date.Time `json:"updatedAt,omitempty"` ListenerCount *int32 `json:"listenerCount,omitempty"` RequiresClientAuthorization *bool `json:"requiresClientAuthorization,omitempty"` RequiresTransportSecurity *bool `json:"requiresTransportSecurity,omitempty"` IsDynamic *bool `json:"isDynamic,omitempty"` UserMetadata *string `json:"userMetadata,omitempty"` }
WcfRelayProperties is properties of the WcfRelay Properties.
type WcfRelaysListResult ¶
type WcfRelaysListResult struct { autorest.Response `json:"-"` Value *[]WcfRelay `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
WcfRelaysListResult is the response of the List WcfRelays operation.
func (WcfRelaysListResult) WcfRelaysListResultPreparer ¶
func (client WcfRelaysListResult) WcfRelaysListResultPreparer() (*http.Request, error)
WcfRelaysListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.