Documentation ¶
Overview ¶
Package servicebus implements the Azure ARM Servicebus service API version 2015-08-01.
Azure Service Bus client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AccessRights
- type CheckNameAvailability
- type CheckNameAvailabilityResult
- type EntityAvailabilityStatus
- type EntityStatus
- type ManagementClient
- type MessageCountDetails
- type NamespaceCreateOrUpdateParameters
- type NamespaceListResult
- type NamespaceProperties
- type NamespaceResource
- type NamespaceState
- type NamespaceUpdateParameters
- 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, ...) (<-chan NamespaceResource, <-chan error)
- func (client NamespacesClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, authorizationRuleName string, ...) (result SharedAccessAuthorizationRuleResource, err error)
- func (client NamespacesClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, authorizationRuleName string, ...) (*http.Request, error)
- func (client NamespacesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error)
- func (client NamespacesClient) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, ...) (*http.Request, error)
- func (client NamespacesClient) CreateOrUpdateResponder(resp *http.Response) (result NamespaceResource, 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 NamespaceResource, err error)
- func (client NamespacesClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, authorizationRuleName string) (result SharedAccessAuthorizationRuleResource, err error)
- func (client NamespacesClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, authorizationRuleName string) (*http.Request, error)
- func (client NamespacesClient) GetAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, 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 NamespaceResource, err error)
- func (client NamespacesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) ListAuthorizationRules(resourceGroupName string, namespaceName string) (result SharedAccessAuthorizationRuleListResult, err error)
- func (client NamespacesClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan SharedAccessAuthorizationRuleResource, <-chan error)
- func (client NamespacesClient) ListAuthorizationRulesNextResults(lastResults SharedAccessAuthorizationRuleListResult) (result SharedAccessAuthorizationRuleListResult, err error)
- func (client NamespacesClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
- func (client NamespacesClient) ListAuthorizationRulesResponder(resp *http.Response) (result SharedAccessAuthorizationRuleListResult, 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 NamespaceResource, <-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) ListBySubscription() (result NamespaceListResult, err error)
- func (client NamespacesClient) ListBySubscriptionComplete(cancel <-chan struct{}) (<-chan NamespaceResource, <-chan error)
- func (client NamespacesClient) ListBySubscriptionNextResults(lastResults NamespaceListResult) (result NamespaceListResult, err error)
- func (client NamespacesClient) ListBySubscriptionPreparer() (*http.Request, error)
- func (client NamespacesClient) ListBySubscriptionResponder(resp *http.Response) (result NamespaceListResult, err error)
- func (client NamespacesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) ListKeys(resourceGroupName string, namespaceName string, authorizationRuleName string) (result ResourceListKeys, err error)
- func (client NamespacesClient) ListKeysPreparer(resourceGroupName string, namespaceName string, authorizationRuleName string) (*http.Request, error)
- func (client NamespacesClient) ListKeysResponder(resp *http.Response) (result ResourceListKeys, err error)
- func (client NamespacesClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) RegenerateKeys(resourceGroupName string, namespaceName string, authorizationRuleName string, ...) (result ResourceListKeys, err error)
- func (client NamespacesClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, authorizationRuleName string, ...) (*http.Request, error)
- func (client NamespacesClient) RegenerateKeysResponder(resp *http.Response) (result ResourceListKeys, err error)
- func (client NamespacesClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)
- func (client NamespacesClient) Update(resourceGroupName string, namespaceName string, ...) (result NamespaceResource, err error)
- func (client NamespacesClient) UpdatePreparer(resourceGroupName string, namespaceName string, ...) (*http.Request, error)
- func (client NamespacesClient) UpdateResponder(resp *http.Response) (result NamespaceResource, 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 QueueCreateOrUpdateParameters
- type QueueListResult
- type QueueProperties
- type QueueResource
- type QueuesClient
- func (client QueuesClient) CreateOrUpdate(resourceGroupName string, namespaceName string, queueName string, ...) (result QueueResource, err error)
- func (client QueuesClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, queueName string, ...) (result SharedAccessAuthorizationRuleResource, err error)
- func (client QueuesClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, queueName string, ...) (*http.Request, error)
- func (client QueuesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error)
- func (client QueuesClient) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client QueuesClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, queueName string, ...) (*http.Request, error)
- func (client QueuesClient) CreateOrUpdateResponder(resp *http.Response) (result QueueResource, err error)
- func (client QueuesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client QueuesClient) Delete(resourceGroupName string, namespaceName string, queueName string) (result autorest.Response, err error)
- func (client QueuesClient) DeleteAuthorizationRule(resourceGroupName string, namespaceName string, queueName string, ...) (result autorest.Response, err error)
- func (client QueuesClient) DeleteAuthorizationRulePreparer(resourceGroupName string, namespaceName string, queueName string, ...) (*http.Request, error)
- func (client QueuesClient) DeleteAuthorizationRuleResponder(resp *http.Response) (result autorest.Response, err error)
- func (client QueuesClient) DeleteAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client QueuesClient) DeletePreparer(resourceGroupName string, namespaceName string, queueName string) (*http.Request, error)
- func (client QueuesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client QueuesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client QueuesClient) Get(resourceGroupName string, namespaceName string, queueName string) (result QueueResource, err error)
- func (client QueuesClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, queueName string, ...) (result SharedAccessAuthorizationRuleResource, err error)
- func (client QueuesClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, queueName string, ...) (*http.Request, error)
- func (client QueuesClient) GetAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error)
- func (client QueuesClient) GetAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client QueuesClient) GetPreparer(resourceGroupName string, namespaceName string, queueName string) (*http.Request, error)
- func (client QueuesClient) GetResponder(resp *http.Response) (result QueueResource, err error)
- func (client QueuesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client QueuesClient) ListAll(resourceGroupName string, namespaceName string) (result QueueListResult, err error)
- func (client QueuesClient) ListAllComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan QueueResource, <-chan error)
- func (client QueuesClient) ListAllNextResults(lastResults QueueListResult) (result QueueListResult, err error)
- func (client QueuesClient) ListAllPreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
- func (client QueuesClient) ListAllResponder(resp *http.Response) (result QueueListResult, err error)
- func (client QueuesClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client QueuesClient) ListAuthorizationRules(resourceGroupName string, namespaceName string, queueName string) (result SharedAccessAuthorizationRuleListResult, err error)
- func (client QueuesClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, queueName string, ...) (<-chan SharedAccessAuthorizationRuleResource, <-chan error)
- func (client QueuesClient) ListAuthorizationRulesNextResults(lastResults SharedAccessAuthorizationRuleListResult) (result SharedAccessAuthorizationRuleListResult, err error)
- func (client QueuesClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string, queueName string) (*http.Request, error)
- func (client QueuesClient) ListAuthorizationRulesResponder(resp *http.Response) (result SharedAccessAuthorizationRuleListResult, err error)
- func (client QueuesClient) ListAuthorizationRulesSender(req *http.Request) (*http.Response, error)
- func (client QueuesClient) ListKeys(resourceGroupName string, namespaceName string, queueName string, ...) (result ResourceListKeys, err error)
- func (client QueuesClient) ListKeysPreparer(resourceGroupName string, namespaceName string, queueName string, ...) (*http.Request, error)
- func (client QueuesClient) ListKeysResponder(resp *http.Response) (result ResourceListKeys, err error)
- func (client QueuesClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client QueuesClient) RegenerateKeys(resourceGroupName string, namespaceName string, queueName string, ...) (result ResourceListKeys, err error)
- func (client QueuesClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, queueName string, ...) (*http.Request, error)
- func (client QueuesClient) RegenerateKeysResponder(resp *http.Response) (result ResourceListKeys, err error)
- func (client QueuesClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)
- type RegenerateKeysParameters
- type Resource
- type ResourceListKeys
- type SharedAccessAuthorizationRuleCreateOrUpdateParameters
- type SharedAccessAuthorizationRuleListResult
- type SharedAccessAuthorizationRuleProperties
- type SharedAccessAuthorizationRuleResource
- type Sku
- type SkuName
- type SkuTier
- type SubscriptionCreateOrUpdateParameters
- type SubscriptionListResult
- type SubscriptionProperties
- type SubscriptionResource
- type SubscriptionsClient
- func (client SubscriptionsClient) CreateOrUpdate(resourceGroupName string, namespaceName string, topicName string, ...) (result SubscriptionResource, err error)
- func (client SubscriptionsClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, topicName string, ...) (*http.Request, error)
- func (client SubscriptionsClient) CreateOrUpdateResponder(resp *http.Response) (result SubscriptionResource, err error)
- func (client SubscriptionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SubscriptionsClient) Delete(resourceGroupName string, namespaceName string, topicName string, ...) (result autorest.Response, err error)
- func (client SubscriptionsClient) DeletePreparer(resourceGroupName string, namespaceName string, topicName string, ...) (*http.Request, error)
- func (client SubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SubscriptionsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SubscriptionsClient) Get(resourceGroupName string, namespaceName string, topicName string, ...) (result SubscriptionResource, err error)
- func (client SubscriptionsClient) GetPreparer(resourceGroupName string, namespaceName string, topicName string, ...) (*http.Request, error)
- func (client SubscriptionsClient) GetResponder(resp *http.Response) (result SubscriptionResource, err error)
- func (client SubscriptionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SubscriptionsClient) ListAll(resourceGroupName string, namespaceName string, topicName string) (result SubscriptionListResult, err error)
- func (client SubscriptionsClient) ListAllComplete(resourceGroupName string, namespaceName string, topicName string, ...) (<-chan SubscriptionResource, <-chan error)
- func (client SubscriptionsClient) ListAllNextResults(lastResults SubscriptionListResult) (result SubscriptionListResult, err error)
- func (client SubscriptionsClient) ListAllPreparer(resourceGroupName string, namespaceName string, topicName string) (*http.Request, error)
- func (client SubscriptionsClient) ListAllResponder(resp *http.Response) (result SubscriptionListResult, err error)
- func (client SubscriptionsClient) ListAllSender(req *http.Request) (*http.Response, error)
- type TopicCreateOrUpdateParameters
- type TopicListResult
- type TopicProperties
- type TopicResource
- type TopicsClient
- func (client TopicsClient) CreateOrUpdate(resourceGroupName string, namespaceName string, topicName string, ...) (result TopicResource, err error)
- func (client TopicsClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, topicName string, ...) (result SharedAccessAuthorizationRuleResource, err error)
- func (client TopicsClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, topicName string, ...) (*http.Request, error)
- func (client TopicsClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error)
- func (client TopicsClient) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client TopicsClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, topicName string, ...) (*http.Request, error)
- func (client TopicsClient) CreateOrUpdateResponder(resp *http.Response) (result TopicResource, err error)
- func (client TopicsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client TopicsClient) Delete(resourceGroupName string, namespaceName string, topicName string) (result autorest.Response, err error)
- func (client TopicsClient) DeleteAuthorizationRule(resourceGroupName string, namespaceName string, topicName string, ...) (result autorest.Response, err error)
- func (client TopicsClient) DeleteAuthorizationRulePreparer(resourceGroupName string, namespaceName string, topicName string, ...) (*http.Request, error)
- func (client TopicsClient) DeleteAuthorizationRuleResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TopicsClient) DeleteAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client TopicsClient) DeletePreparer(resourceGroupName string, namespaceName string, topicName string) (*http.Request, error)
- func (client TopicsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TopicsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client TopicsClient) Get(resourceGroupName string, namespaceName string, topicName string) (result TopicResource, err error)
- func (client TopicsClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, topicName string, ...) (result SharedAccessAuthorizationRuleResource, err error)
- func (client TopicsClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, topicName string, ...) (*http.Request, error)
- func (client TopicsClient) GetAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error)
- func (client TopicsClient) GetAuthorizationRuleSender(req *http.Request) (*http.Response, error)
- func (client TopicsClient) GetPreparer(resourceGroupName string, namespaceName string, topicName string) (*http.Request, error)
- func (client TopicsClient) GetResponder(resp *http.Response) (result TopicResource, err error)
- func (client TopicsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TopicsClient) ListAll(resourceGroupName string, namespaceName string) (result TopicListResult, err error)
- func (client TopicsClient) ListAllComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan TopicResource, <-chan error)
- func (client TopicsClient) ListAllNextResults(lastResults TopicListResult) (result TopicListResult, err error)
- func (client TopicsClient) ListAllPreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
- func (client TopicsClient) ListAllResponder(resp *http.Response) (result TopicListResult, err error)
- func (client TopicsClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client TopicsClient) ListAuthorizationRules(resourceGroupName string, namespaceName string, topicName string) (result SharedAccessAuthorizationRuleListResult, err error)
- func (client TopicsClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, topicName string, ...) (<-chan SharedAccessAuthorizationRuleResource, <-chan error)
- func (client TopicsClient) ListAuthorizationRulesNextResults(lastResults SharedAccessAuthorizationRuleListResult) (result SharedAccessAuthorizationRuleListResult, err error)
- func (client TopicsClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string, topicName string) (*http.Request, error)
- func (client TopicsClient) ListAuthorizationRulesResponder(resp *http.Response) (result SharedAccessAuthorizationRuleListResult, err error)
- func (client TopicsClient) ListAuthorizationRulesSender(req *http.Request) (*http.Response, error)
- func (client TopicsClient) ListKeys(resourceGroupName string, namespaceName string, topicName string, ...) (result ResourceListKeys, err error)
- func (client TopicsClient) ListKeysPreparer(resourceGroupName string, namespaceName string, topicName string, ...) (*http.Request, error)
- func (client TopicsClient) ListKeysResponder(resp *http.Response) (result ResourceListKeys, err error)
- func (client TopicsClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client TopicsClient) RegenerateKeys(resourceGroupName string, namespaceName string, topicName string, ...) (result ResourceListKeys, err error)
- func (client TopicsClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, topicName string, ...) (*http.Request, error)
- func (client TopicsClient) RegenerateKeysResponder(resp *http.Response) (result ResourceListKeys, err error)
- func (client TopicsClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)
- type TrackedResource
- type UnavailableReason
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Servicebus
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 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 EntityAvailabilityStatus ¶
type EntityAvailabilityStatus string
EntityAvailabilityStatus enumerates the values for entity availability status.
const ( // Available specifies the available state for entity availability status. Available EntityAvailabilityStatus = "Available" // Limited specifies the limited state for entity availability status. Limited EntityAvailabilityStatus = "Limited" // Renaming specifies the renaming state for entity availability status. Renaming EntityAvailabilityStatus = "Renaming" // Restoring specifies the restoring state for entity availability status. Restoring EntityAvailabilityStatus = "Restoring" // Unknown specifies the unknown state for entity availability status. Unknown EntityAvailabilityStatus = "Unknown" )
type EntityStatus ¶
type EntityStatus string
EntityStatus enumerates the values for entity status.
const ( // EntityStatusActive specifies the entity status active state for entity status. EntityStatusActive EntityStatus = "Active" // EntityStatusCreating specifies the entity status creating state for entity status. EntityStatusCreating EntityStatus = "Creating" // EntityStatusDeleting specifies the entity status deleting state for entity status. EntityStatusDeleting EntityStatus = "Deleting" // EntityStatusDisabled specifies the entity status disabled state for entity status. EntityStatusDisabled EntityStatus = "Disabled" // EntityStatusReceiveDisabled specifies the entity status receive disabled state for entity status. EntityStatusReceiveDisabled EntityStatus = "ReceiveDisabled" // EntityStatusRenaming specifies the entity status renaming state for entity status. EntityStatusRenaming EntityStatus = "Renaming" // EntityStatusRestoring specifies the entity status restoring state for entity status. EntityStatusRestoring EntityStatus = "Restoring" // EntityStatusSendDisabled specifies the entity status send disabled state for entity status. EntityStatusSendDisabled EntityStatus = "SendDisabled" // EntityStatusUnknown specifies the entity status unknown state for entity status. EntityStatusUnknown EntityStatus = "Unknown" )
type ManagementClient ¶
ManagementClient is the base client for Servicebus.
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 MessageCountDetails ¶
type MessageCountDetails struct { ActiveMessageCount *int64 `json:"activeMessageCount,omitempty"` DeadLetterMessageCount *int64 `json:"deadLetterMessageCount,omitempty"` ScheduledMessageCount *int64 `json:"scheduledMessageCount,omitempty"` TransferDeadLetterMessageCount *int64 `json:"transferDeadLetterMessageCount,omitempty"` TransferMessageCount *int64 `json:"transferMessageCount,omitempty"` }
MessageCountDetails is message Count Details.
type NamespaceCreateOrUpdateParameters ¶
type NamespaceCreateOrUpdateParameters struct { Location *string `json:"location,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *NamespaceProperties `json:"properties,omitempty"` }
NamespaceCreateOrUpdateParameters is parameters supplied to the Create Or Update Namespace operation.
type NamespaceListResult ¶
type NamespaceListResult struct { autorest.Response `json:"-"` Value *[]NamespaceResource `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"` Status NamespaceState `json:"status,omitempty"` CreatedAt *date.Time `json:"createdAt,omitempty"` UpdatedAt *date.Time `json:"updatedAt,omitempty"` ServiceBusEndpoint *string `json:"serviceBusEndpoint,omitempty"` CreateACSNamespace *bool `json:"createACSNamespace,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
NamespaceProperties is properties of the namespace.
type NamespaceResource ¶
type NamespaceResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Location *string `json:"location,omitempty"` Type *string `json:"type,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Sku *Sku `json:"sku,omitempty"` *NamespaceProperties `json:"properties,omitempty"` }
NamespaceResource is description of a namespace resource.
type NamespaceState ¶
type NamespaceState string
NamespaceState enumerates the values for namespace state.
const ( // NamespaceStateActivating specifies the namespace state activating state for namespace state. NamespaceStateActivating NamespaceState = "Activating" // NamespaceStateActive specifies the namespace state active state for namespace state. NamespaceStateActive NamespaceState = "Active" // NamespaceStateCreated specifies the namespace state created state for namespace state. NamespaceStateCreated NamespaceState = "Created" // NamespaceStateCreating specifies the namespace state creating state for namespace state. NamespaceStateCreating NamespaceState = "Creating" // NamespaceStateDisabled specifies the namespace state disabled state for namespace state. NamespaceStateDisabled NamespaceState = "Disabled" // NamespaceStateDisabling specifies the namespace state disabling state for namespace state. NamespaceStateDisabling NamespaceState = "Disabling" // NamespaceStateEnabling specifies the namespace state enabling state for namespace state. NamespaceStateEnabling NamespaceState = "Enabling" // NamespaceStateFailed specifies the namespace state failed state for namespace state. NamespaceStateFailed NamespaceState = "Failed" // NamespaceStateRemoved specifies the namespace state removed state for namespace state. NamespaceStateRemoved NamespaceState = "Removed" // NamespaceStateRemoving specifies the namespace state removing state for namespace state. NamespaceStateRemoving NamespaceState = "Removing" // NamespaceStateSoftDeleted specifies the namespace state soft deleted state for namespace state. NamespaceStateSoftDeleted NamespaceState = "SoftDeleted" // NamespaceStateSoftDeleting specifies the namespace state soft deleting state for namespace state. NamespaceStateSoftDeleting NamespaceState = "SoftDeleting" // NamespaceStateUnknown specifies the namespace state unknown state for namespace state. NamespaceStateUnknown NamespaceState = "Unknown" )
type NamespaceUpdateParameters ¶
type NamespaceUpdateParameters struct { Tags *map[string]*string `json:"tags,omitempty"` Sku *Sku `json:"sku,omitempty"` }
NamespaceUpdateParameters is parameters supplied to the Patch Namespace operation.
type NamespacesClient ¶
type NamespacesClient struct {
ManagementClient
}
NamespacesClient is the azure Service Bus client
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 NamespaceCreateOrUpdateParameters, cancel <-chan struct{}) (<-chan NamespaceResource, <-chan error)
CreateOrUpdate creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. 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 SharedAccessAuthorizationRuleCreateOrUpdateParameters) (result SharedAccessAuthorizationRuleResource, 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 shared access authorization rule.
func (NamespacesClient) CreateOrUpdateAuthorizationRulePreparer ¶
func (client NamespacesClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.
func (NamespacesClient) CreateOrUpdateAuthorizationRuleResponder ¶
func (client NamespacesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, 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 NamespaceCreateOrUpdateParameters, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (NamespacesClient) CreateOrUpdateResponder ¶
func (client NamespacesClient) CreateOrUpdateResponder(resp *http.Response) (result NamespaceResource, 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 NamespaceResource, err error)
Get gets a 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 SharedAccessAuthorizationRuleResource, err error)
GetAuthorizationRule gets an authorization rule for a namespace by rule 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 SharedAccessAuthorizationRuleResource, 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 NamespaceResource, 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) ListAuthorizationRules ¶
func (client NamespacesClient) ListAuthorizationRules(resourceGroupName string, namespaceName string) (result SharedAccessAuthorizationRuleListResult, err error)
ListAuthorizationRules gets the 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 SharedAccessAuthorizationRuleResource, <-chan error)
ListAuthorizationRulesComplete gets all elements from the list without paging.
func (NamespacesClient) ListAuthorizationRulesNextResults ¶
func (client NamespacesClient) ListAuthorizationRulesNextResults(lastResults SharedAccessAuthorizationRuleListResult) (result SharedAccessAuthorizationRuleListResult, 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 SharedAccessAuthorizationRuleListResult, 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 gets the available namespaces within a resource group.
resourceGroupName is name of the Resource group within the Azure subscription.
func (NamespacesClient) ListByResourceGroupComplete ¶
func (client NamespacesClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan NamespaceResource, <-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) ListBySubscription ¶
func (client NamespacesClient) ListBySubscription() (result NamespaceListResult, err error)
ListBySubscription gets all the available namespaces within the subscription, irrespective of the resource groups.
func (NamespacesClient) ListBySubscriptionComplete ¶
func (client NamespacesClient) ListBySubscriptionComplete(cancel <-chan struct{}) (<-chan NamespaceResource, <-chan error)
ListBySubscriptionComplete gets all elements from the list without paging.
func (NamespacesClient) ListBySubscriptionNextResults ¶
func (client NamespacesClient) ListBySubscriptionNextResults(lastResults NamespaceListResult) (result NamespaceListResult, err error)
ListBySubscriptionNextResults retrieves the next set of results, if any.
func (NamespacesClient) ListBySubscriptionPreparer ¶
func (client NamespacesClient) ListBySubscriptionPreparer() (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (NamespacesClient) ListBySubscriptionResponder ¶
func (client NamespacesClient) ListBySubscriptionResponder(resp *http.Response) (result NamespaceListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (NamespacesClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (NamespacesClient) ListKeys ¶
func (client NamespacesClient) ListKeys(resourceGroupName string, namespaceName string, authorizationRuleName string) (result ResourceListKeys, err error)
ListKeys gets the primary and secondary connection strings for 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 ResourceListKeys, 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) RegenerateKeys ¶
func (client NamespacesClient) RegenerateKeys(resourceGroupName string, namespaceName string, authorizationRuleName string, parameters RegenerateKeysParameters) (result ResourceListKeys, err error)
RegenerateKeys regenerates the primary or secondary connection strings for 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 the authorization 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 ResourceListKeys, 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 NamespaceUpdateParameters) (result NamespaceResource, err error)
Update updates a service 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 supplied to update a namespace resource.
func (NamespacesClient) UpdatePreparer ¶
func (client NamespacesClient) UpdatePreparer(resourceGroupName string, namespaceName string, parameters NamespaceUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (NamespacesClient) UpdateResponder ¶
func (client NamespacesClient) UpdateResponder(resp *http.Response) (result NamespaceResource, 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 ServiceBus 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 ServiceBus 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 azure Service Bus client
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 ServiceBus 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 QueueCreateOrUpdateParameters ¶
type QueueCreateOrUpdateParameters struct { Name *string `json:"name,omitempty"` Location *string `json:"location,omitempty"` *QueueProperties `json:"properties,omitempty"` }
QueueCreateOrUpdateParameters is parameters supplied to the Create Or Update Queue operation.
type QueueListResult ¶
type QueueListResult struct { autorest.Response `json:"-"` Value *[]QueueResource `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
QueueListResult is the response to the List Queues operation.
func (QueueListResult) QueueListResultPreparer ¶
func (client QueueListResult) QueueListResultPreparer() (*http.Request, error)
QueueListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type QueueProperties ¶
type QueueProperties struct { LockDuration *string `json:"lockDuration,omitempty"` AccessedAt *date.Time `json:"accessedAt,omitempty"` AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"` EntityAvailabilityStatus EntityAvailabilityStatus `json:"entityAvailabilityStatus,omitempty"` CreatedAt *date.Time `json:"createdAt,omitempty"` DefaultMessageTimeToLive *string `json:"defaultMessageTimeToLive,omitempty"` DuplicateDetectionHistoryTimeWindow *string `json:"duplicateDetectionHistoryTimeWindow,omitempty"` EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty"` DeadLetteringOnMessageExpiration *bool `json:"deadLetteringOnMessageExpiration,omitempty"` EnableExpress *bool `json:"enableExpress,omitempty"` EnablePartitioning *bool `json:"enablePartitioning,omitempty"` IsAnonymousAccessible *bool `json:"isAnonymousAccessible,omitempty"` MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` MaxSizeInMegabytes *int64 `json:"maxSizeInMegabytes,omitempty"` MessageCount *int64 `json:"messageCount,omitempty"` CountDetails *MessageCountDetails `json:"countDetails,omitempty"` RequiresDuplicateDetection *bool `json:"requiresDuplicateDetection,omitempty"` RequiresSession *bool `json:"requiresSession,omitempty"` SizeInBytes *int64 `json:"sizeInBytes,omitempty"` Status EntityStatus `json:"status,omitempty"` SupportOrdering *bool `json:"supportOrdering,omitempty"` UpdatedAt *date.Time `json:"updatedAt,omitempty"` }
QueueProperties is the Queue Properties definition.
type QueueResource ¶
type QueueResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Location *string `json:"location,omitempty"` Type *string `json:"type,omitempty"` *QueueProperties `json:"properties,omitempty"` }
QueueResource is description of queue Resource.
type QueuesClient ¶
type QueuesClient struct {
ManagementClient
}
QueuesClient is the azure Service Bus client
func NewQueuesClient ¶
func NewQueuesClient(subscriptionID string) QueuesClient
NewQueuesClient creates an instance of the QueuesClient client.
func NewQueuesClientWithBaseURI ¶
func NewQueuesClientWithBaseURI(baseURI string, subscriptionID string) QueuesClient
NewQueuesClientWithBaseURI creates an instance of the QueuesClient client.
func (QueuesClient) CreateOrUpdate ¶
func (client QueuesClient) CreateOrUpdate(resourceGroupName string, namespaceName string, queueName string, parameters QueueCreateOrUpdateParameters) (result QueueResource, err error)
CreateOrUpdate creates or updates a Service Bus queue. This operation is idempotent.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name queueName is the queue name. parameters is parameters supplied to create or update a queue resource.
func (QueuesClient) CreateOrUpdateAuthorizationRule ¶
func (client QueuesClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (result SharedAccessAuthorizationRuleResource, err error)
CreateOrUpdateAuthorizationRule creates an authorization rule for a queue.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name queueName is the queue name. authorizationRuleName is the authorizationrule name. parameters is the shared access authorization rule.
func (QueuesClient) CreateOrUpdateAuthorizationRulePreparer ¶
func (client QueuesClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.
func (QueuesClient) CreateOrUpdateAuthorizationRuleResponder ¶
func (client QueuesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error)
CreateOrUpdateAuthorizationRuleResponder handles the response to the CreateOrUpdateAuthorizationRule request. The method always closes the http.Response Body.
func (QueuesClient) CreateOrUpdateAuthorizationRuleSender ¶
func (client QueuesClient) 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 (QueuesClient) CreateOrUpdatePreparer ¶
func (client QueuesClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, queueName string, parameters QueueCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (QueuesClient) CreateOrUpdateResponder ¶
func (client QueuesClient) CreateOrUpdateResponder(resp *http.Response) (result QueueResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (QueuesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (QueuesClient) Delete ¶
func (client QueuesClient) Delete(resourceGroupName string, namespaceName string, queueName string) (result autorest.Response, err error)
Delete deletes a queue from the specified namespace in a resource group.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name queueName is the queue name.
func (QueuesClient) DeleteAuthorizationRule ¶
func (client QueuesClient) DeleteAuthorizationRule(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (result autorest.Response, err error)
DeleteAuthorizationRule deletes a queue authorization rule.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name queueName is the queue name. authorizationRuleName is the authorizationrule name.
func (QueuesClient) DeleteAuthorizationRulePreparer ¶
func (client QueuesClient) DeleteAuthorizationRulePreparer(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (*http.Request, error)
DeleteAuthorizationRulePreparer prepares the DeleteAuthorizationRule request.
func (QueuesClient) DeleteAuthorizationRuleResponder ¶
func (client QueuesClient) 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 (QueuesClient) DeleteAuthorizationRuleSender ¶
DeleteAuthorizationRuleSender sends the DeleteAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (QueuesClient) DeletePreparer ¶
func (client QueuesClient) DeletePreparer(resourceGroupName string, namespaceName string, queueName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (QueuesClient) DeleteResponder ¶
func (client QueuesClient) 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 (QueuesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (QueuesClient) Get ¶
func (client QueuesClient) Get(resourceGroupName string, namespaceName string, queueName string) (result QueueResource, err error)
Get returns a description for the specified queue.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name queueName is the queue name.
func (QueuesClient) GetAuthorizationRule ¶
func (client QueuesClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (result SharedAccessAuthorizationRuleResource, err error)
GetAuthorizationRule gets an authorization rule for a queue by rule name.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name queueName is the queue name. authorizationRuleName is the authorizationrule name.
func (QueuesClient) GetAuthorizationRulePreparer ¶
func (client QueuesClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (*http.Request, error)
GetAuthorizationRulePreparer prepares the GetAuthorizationRule request.
func (QueuesClient) GetAuthorizationRuleResponder ¶
func (client QueuesClient) GetAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error)
GetAuthorizationRuleResponder handles the response to the GetAuthorizationRule request. The method always closes the http.Response Body.
func (QueuesClient) GetAuthorizationRuleSender ¶
GetAuthorizationRuleSender sends the GetAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (QueuesClient) GetPreparer ¶
func (client QueuesClient) GetPreparer(resourceGroupName string, namespaceName string, queueName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (QueuesClient) GetResponder ¶
func (client QueuesClient) GetResponder(resp *http.Response) (result QueueResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (QueuesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (QueuesClient) ListAll ¶
func (client QueuesClient) ListAll(resourceGroupName string, namespaceName string) (result QueueListResult, err error)
ListAll gets the queues within a namespace.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name
func (QueuesClient) ListAllComplete ¶
func (client QueuesClient) ListAllComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan QueueResource, <-chan error)
ListAllComplete gets all elements from the list without paging.
func (QueuesClient) ListAllNextResults ¶
func (client QueuesClient) ListAllNextResults(lastResults QueueListResult) (result QueueListResult, err error)
ListAllNextResults retrieves the next set of results, if any.
func (QueuesClient) ListAllPreparer ¶
func (client QueuesClient) ListAllPreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (QueuesClient) ListAllResponder ¶
func (client QueuesClient) ListAllResponder(resp *http.Response) (result QueueListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (QueuesClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (QueuesClient) ListAuthorizationRules ¶
func (client QueuesClient) ListAuthorizationRules(resourceGroupName string, namespaceName string, queueName string) (result SharedAccessAuthorizationRuleListResult, err error)
ListAuthorizationRules gets all authorization rules for a queue.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name queueName is the queue name.
func (QueuesClient) ListAuthorizationRulesComplete ¶
func (client QueuesClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, queueName string, cancel <-chan struct{}) (<-chan SharedAccessAuthorizationRuleResource, <-chan error)
ListAuthorizationRulesComplete gets all elements from the list without paging.
func (QueuesClient) ListAuthorizationRulesNextResults ¶
func (client QueuesClient) ListAuthorizationRulesNextResults(lastResults SharedAccessAuthorizationRuleListResult) (result SharedAccessAuthorizationRuleListResult, err error)
ListAuthorizationRulesNextResults retrieves the next set of results, if any.
func (QueuesClient) ListAuthorizationRulesPreparer ¶
func (client QueuesClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string, queueName string) (*http.Request, error)
ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.
func (QueuesClient) ListAuthorizationRulesResponder ¶
func (client QueuesClient) ListAuthorizationRulesResponder(resp *http.Response) (result SharedAccessAuthorizationRuleListResult, err error)
ListAuthorizationRulesResponder handles the response to the ListAuthorizationRules request. The method always closes the http.Response Body.
func (QueuesClient) ListAuthorizationRulesSender ¶
ListAuthorizationRulesSender sends the ListAuthorizationRules request. The method will close the http.Response Body if it receives an error.
func (QueuesClient) ListKeys ¶
func (client QueuesClient) ListKeys(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (result ResourceListKeys, err error)
ListKeys primary and secondary connection strings to the queue.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name queueName is the queue name. authorizationRuleName is the authorizationrule name.
func (QueuesClient) ListKeysPreparer ¶
func (client QueuesClient) ListKeysPreparer(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (QueuesClient) ListKeysResponder ¶
func (client QueuesClient) ListKeysResponder(resp *http.Response) (result ResourceListKeys, err error)
ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (QueuesClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (QueuesClient) RegenerateKeys ¶
func (client QueuesClient) RegenerateKeys(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters RegenerateKeysParameters) (result ResourceListKeys, err error)
RegenerateKeys regenerates the primary or secondary connection strings to the queue.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name queueName is the queue name. authorizationRuleName is the authorizationrule name. parameters is parameters supplied to regenerate the authorization rule.
func (QueuesClient) RegenerateKeysPreparer ¶
func (client QueuesClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters RegenerateKeysParameters) (*http.Request, error)
RegenerateKeysPreparer prepares the RegenerateKeys request.
func (QueuesClient) RegenerateKeysResponder ¶
func (client QueuesClient) RegenerateKeysResponder(resp *http.Response) (result ResourceListKeys, err error)
RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.
func (QueuesClient) RegenerateKeysSender ¶
RegenerateKeysSender sends the RegenerateKeys 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 Resource ¶
type Resource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Location *string `json:"location,omitempty"` Type *string `json:"type,omitempty"` }
Resource is the Resource definition for other than namespace.
type ResourceListKeys ¶
type ResourceListKeys 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"` }
ResourceListKeys is namespace/ServiceBus Connection String
type SharedAccessAuthorizationRuleCreateOrUpdateParameters ¶
type SharedAccessAuthorizationRuleCreateOrUpdateParameters struct {}
SharedAccessAuthorizationRuleCreateOrUpdateParameters is parameters supplied to the Create Or Update Authorization Rules operation.
type SharedAccessAuthorizationRuleListResult ¶
type SharedAccessAuthorizationRuleListResult struct {}
SharedAccessAuthorizationRuleListResult is the response to the List Namespace operation.
func (SharedAccessAuthorizationRuleListResult) SharedAccessAuthorizationRuleListResultPreparer ¶
func (client SharedAccessAuthorizationRuleListResult) SharedAccessAuthorizationRuleListResultPreparer() (*http.Request, error)
SharedAccessAuthorizationRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type SharedAccessAuthorizationRuleProperties ¶
type SharedAccessAuthorizationRuleProperties struct {
}SharedAccessAuthorizationRuleProperties is sharedAccessAuthorizationRule properties.
type SharedAccessAuthorizationRuleResource ¶
type SharedAccessAuthorizationRuleResource struct {}
SharedAccessAuthorizationRuleResource is description of a namespace authorization rule.
type Sku ¶
type Sku struct { Name SkuName `json:"name,omitempty"` Tier SkuTier `json:"tier,omitempty"` Capacity *int32 `json:"capacity,omitempty"` }
Sku is SKU of the namespace.
type SkuTier ¶
type SkuTier string
SkuTier enumerates the values for sku tier.
const ( // SkuTierBasic specifies the sku tier basic state for sku tier. SkuTierBasic SkuTier = "Basic" // SkuTierPremium specifies the sku tier premium state for sku tier. SkuTierPremium SkuTier = "Premium" // SkuTierStandard specifies the sku tier standard state for sku tier. SkuTierStandard SkuTier = "Standard" )
type SubscriptionCreateOrUpdateParameters ¶
type SubscriptionCreateOrUpdateParameters struct { Location *string `json:"location,omitempty"` Type *string `json:"type,omitempty"` *SubscriptionProperties `json:"properties,omitempty"` }
SubscriptionCreateOrUpdateParameters is parameters supplied to the Create Or Update Subscription operation.
type SubscriptionListResult ¶
type SubscriptionListResult struct { autorest.Response `json:"-"` Value *[]SubscriptionResource `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
SubscriptionListResult is the response to the List Subscriptions operation.
func (SubscriptionListResult) SubscriptionListResultPreparer ¶
func (client SubscriptionListResult) SubscriptionListResultPreparer() (*http.Request, error)
SubscriptionListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type SubscriptionProperties ¶
type SubscriptionProperties struct { AccessedAt *date.Time `json:"accessedAt,omitempty"` AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"` CountDetails *MessageCountDetails `json:"countDetails,omitempty"` CreatedAt *date.Time `json:"createdAt,omitempty"` DefaultMessageTimeToLive *string `json:"defaultMessageTimeToLive,omitempty"` DeadLetteringOnFilterEvaluationExceptions *bool `json:"deadLetteringOnFilterEvaluationExceptions,omitempty"` DeadLetteringOnMessageExpiration *bool `json:"deadLetteringOnMessageExpiration,omitempty"` EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty"` EntityAvailabilityStatus EntityAvailabilityStatus `json:"entityAvailabilityStatus,omitempty"` IsReadOnly *bool `json:"isReadOnly,omitempty"` LockDuration *string `json:"lockDuration,omitempty"` MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` MessageCount *int64 `json:"messageCount,omitempty"` RequiresSession *bool `json:"requiresSession,omitempty"` Status EntityStatus `json:"status,omitempty"` UpdatedAt *date.Time `json:"updatedAt,omitempty"` }
SubscriptionProperties is description of Subscription Resource.
type SubscriptionResource ¶
type SubscriptionResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Location *string `json:"location,omitempty"` Type *string `json:"type,omitempty"` *SubscriptionProperties `json:"properties,omitempty"` }
SubscriptionResource is description of subscription resource.
type SubscriptionsClient ¶
type SubscriptionsClient struct {
ManagementClient
}
SubscriptionsClient is the azure Service Bus client
func NewSubscriptionsClient ¶
func NewSubscriptionsClient(subscriptionID string) SubscriptionsClient
NewSubscriptionsClient creates an instance of the SubscriptionsClient client.
func NewSubscriptionsClientWithBaseURI ¶
func NewSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionsClient
NewSubscriptionsClientWithBaseURI creates an instance of the SubscriptionsClient client.
func (SubscriptionsClient) CreateOrUpdate ¶
func (client SubscriptionsClient) CreateOrUpdate(resourceGroupName string, namespaceName string, topicName string, subscriptionName string, parameters SubscriptionCreateOrUpdateParameters) (result SubscriptionResource, err error)
CreateOrUpdate creates a topic subscription.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name. subscriptionName is the subscription name. parameters is parameters supplied to create a subscription resource.
func (SubscriptionsClient) CreateOrUpdatePreparer ¶
func (client SubscriptionsClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, topicName string, subscriptionName string, parameters SubscriptionCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SubscriptionsClient) CreateOrUpdateResponder ¶
func (client SubscriptionsClient) CreateOrUpdateResponder(resp *http.Response) (result SubscriptionResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SubscriptionsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SubscriptionsClient) Delete ¶
func (client SubscriptionsClient) Delete(resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (result autorest.Response, err error)
Delete deletes a subscription from the specified topic.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name. subscriptionName is the subscription name.
func (SubscriptionsClient) DeletePreparer ¶
func (client SubscriptionsClient) DeletePreparer(resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SubscriptionsClient) DeleteResponder ¶
func (client SubscriptionsClient) 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 (SubscriptionsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SubscriptionsClient) Get ¶
func (client SubscriptionsClient) Get(resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (result SubscriptionResource, err error)
Get returns a subscription description for the specified topic.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name. subscriptionName is the subscription name.
func (SubscriptionsClient) GetPreparer ¶
func (client SubscriptionsClient) GetPreparer(resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SubscriptionsClient) GetResponder ¶
func (client SubscriptionsClient) GetResponder(resp *http.Response) (result SubscriptionResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SubscriptionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SubscriptionsClient) ListAll ¶
func (client SubscriptionsClient) ListAll(resourceGroupName string, namespaceName string, topicName string) (result SubscriptionListResult, err error)
ListAll list all the subscriptions under a specified topic.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name.
func (SubscriptionsClient) ListAllComplete ¶
func (client SubscriptionsClient) ListAllComplete(resourceGroupName string, namespaceName string, topicName string, cancel <-chan struct{}) (<-chan SubscriptionResource, <-chan error)
ListAllComplete gets all elements from the list without paging.
func (SubscriptionsClient) ListAllNextResults ¶
func (client SubscriptionsClient) ListAllNextResults(lastResults SubscriptionListResult) (result SubscriptionListResult, err error)
ListAllNextResults retrieves the next set of results, if any.
func (SubscriptionsClient) ListAllPreparer ¶
func (client SubscriptionsClient) ListAllPreparer(resourceGroupName string, namespaceName string, topicName string) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (SubscriptionsClient) ListAllResponder ¶
func (client SubscriptionsClient) ListAllResponder(resp *http.Response) (result SubscriptionListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (SubscriptionsClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
type TopicCreateOrUpdateParameters ¶
type TopicCreateOrUpdateParameters struct { Name *string `json:"name,omitempty"` Location *string `json:"location,omitempty"` *TopicProperties `json:"properties,omitempty"` }
TopicCreateOrUpdateParameters is parameters supplied to the Create Or Update Topic operation.
type TopicListResult ¶
type TopicListResult struct { autorest.Response `json:"-"` Value *[]TopicResource `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
TopicListResult is the response to the List Topics operation.
func (TopicListResult) TopicListResultPreparer ¶
func (client TopicListResult) TopicListResultPreparer() (*http.Request, error)
TopicListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type TopicProperties ¶
type TopicProperties struct { AccessedAt *date.Time `json:"accessedAt,omitempty"` AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"` EntityAvailabilityStatus EntityAvailabilityStatus `json:"entityAvailabilityStatus,omitempty"` CreatedAt *date.Time `json:"createdAt,omitempty"` CountDetails *MessageCountDetails `json:"countDetails,omitempty"` DefaultMessageTimeToLive *string `json:"defaultMessageTimeToLive,omitempty"` DuplicateDetectionHistoryTimeWindow *string `json:"duplicateDetectionHistoryTimeWindow,omitempty"` EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty"` EnableExpress *bool `json:"enableExpress,omitempty"` EnablePartitioning *bool `json:"enablePartitioning,omitempty"` EnableSubscriptionPartitioning *bool `json:"enableSubscriptionPartitioning,omitempty"` FilteringMessagesBeforePublishing *bool `json:"filteringMessagesBeforePublishing,omitempty"` IsAnonymousAccessible *bool `json:"isAnonymousAccessible,omitempty"` IsExpress *bool `json:"isExpress,omitempty"` MaxSizeInMegabytes *int64 `json:"maxSizeInMegabytes,omitempty"` RequiresDuplicateDetection *bool `json:"requiresDuplicateDetection,omitempty"` SizeInBytes *int64 `json:"sizeInBytes,omitempty"` Status EntityStatus `json:"status,omitempty"` SubscriptionCount *int32 `json:"subscriptionCount,omitempty"` SupportOrdering *bool `json:"supportOrdering,omitempty"` UpdatedAt *date.Time `json:"updatedAt,omitempty"` }
TopicProperties is the Tpoic Properties definition.
type TopicResource ¶
type TopicResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Location *string `json:"location,omitempty"` Type *string `json:"type,omitempty"` *TopicProperties `json:"properties,omitempty"` }
TopicResource is description of topic resource.
type TopicsClient ¶
type TopicsClient struct {
ManagementClient
}
TopicsClient is the azure Service Bus client
func NewTopicsClient ¶
func NewTopicsClient(subscriptionID string) TopicsClient
NewTopicsClient creates an instance of the TopicsClient client.
func NewTopicsClientWithBaseURI ¶
func NewTopicsClientWithBaseURI(baseURI string, subscriptionID string) TopicsClient
NewTopicsClientWithBaseURI creates an instance of the TopicsClient client.
func (TopicsClient) CreateOrUpdate ¶
func (client TopicsClient) CreateOrUpdate(resourceGroupName string, namespaceName string, topicName string, parameters TopicCreateOrUpdateParameters) (result TopicResource, err error)
CreateOrUpdate creates a topic in the specified namespace.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name. parameters is parameters supplied to create a topic resource.
func (TopicsClient) CreateOrUpdateAuthorizationRule ¶
func (client TopicsClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (result SharedAccessAuthorizationRuleResource, err error)
CreateOrUpdateAuthorizationRule creates an authorizatio rule for the specified topic.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name. authorizationRuleName is the authorizationrule name. parameters is the shared access authorization rule.
func (TopicsClient) CreateOrUpdateAuthorizationRulePreparer ¶
func (client TopicsClient) CreateOrUpdateAuthorizationRulePreparer(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.
func (TopicsClient) CreateOrUpdateAuthorizationRuleResponder ¶
func (client TopicsClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error)
CreateOrUpdateAuthorizationRuleResponder handles the response to the CreateOrUpdateAuthorizationRule request. The method always closes the http.Response Body.
func (TopicsClient) CreateOrUpdateAuthorizationRuleSender ¶
func (client TopicsClient) 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 (TopicsClient) CreateOrUpdatePreparer ¶
func (client TopicsClient) CreateOrUpdatePreparer(resourceGroupName string, namespaceName string, topicName string, parameters TopicCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (TopicsClient) CreateOrUpdateResponder ¶
func (client TopicsClient) CreateOrUpdateResponder(resp *http.Response) (result TopicResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (TopicsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (TopicsClient) Delete ¶
func (client TopicsClient) Delete(resourceGroupName string, namespaceName string, topicName string) (result autorest.Response, err error)
Delete deletes a topic from the specified namespace and resource group.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name.
func (TopicsClient) DeleteAuthorizationRule ¶
func (client TopicsClient) DeleteAuthorizationRule(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (result autorest.Response, err error)
DeleteAuthorizationRule deletes a topic authorization rule.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name. authorizationRuleName is the authorizationrule name.
func (TopicsClient) DeleteAuthorizationRulePreparer ¶
func (client TopicsClient) DeleteAuthorizationRulePreparer(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (*http.Request, error)
DeleteAuthorizationRulePreparer prepares the DeleteAuthorizationRule request.
func (TopicsClient) DeleteAuthorizationRuleResponder ¶
func (client TopicsClient) 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 (TopicsClient) DeleteAuthorizationRuleSender ¶
DeleteAuthorizationRuleSender sends the DeleteAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (TopicsClient) DeletePreparer ¶
func (client TopicsClient) DeletePreparer(resourceGroupName string, namespaceName string, topicName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (TopicsClient) DeleteResponder ¶
func (client TopicsClient) 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 (TopicsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (TopicsClient) Get ¶
func (client TopicsClient) Get(resourceGroupName string, namespaceName string, topicName string) (result TopicResource, err error)
Get returns a description for the specified topic.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name.
func (TopicsClient) GetAuthorizationRule ¶
func (client TopicsClient) GetAuthorizationRule(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (result SharedAccessAuthorizationRuleResource, err error)
GetAuthorizationRule returns the specified authorization rule.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name. authorizationRuleName is the authorizationrule name.
func (TopicsClient) GetAuthorizationRulePreparer ¶
func (client TopicsClient) GetAuthorizationRulePreparer(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (*http.Request, error)
GetAuthorizationRulePreparer prepares the GetAuthorizationRule request.
func (TopicsClient) GetAuthorizationRuleResponder ¶
func (client TopicsClient) GetAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error)
GetAuthorizationRuleResponder handles the response to the GetAuthorizationRule request. The method always closes the http.Response Body.
func (TopicsClient) GetAuthorizationRuleSender ¶
GetAuthorizationRuleSender sends the GetAuthorizationRule request. The method will close the http.Response Body if it receives an error.
func (TopicsClient) GetPreparer ¶
func (client TopicsClient) GetPreparer(resourceGroupName string, namespaceName string, topicName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TopicsClient) GetResponder ¶
func (client TopicsClient) GetResponder(resp *http.Response) (result TopicResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (TopicsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (TopicsClient) ListAll ¶
func (client TopicsClient) ListAll(resourceGroupName string, namespaceName string) (result TopicListResult, err error)
ListAll gets all the topics in a namespace.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name
func (TopicsClient) ListAllComplete ¶
func (client TopicsClient) ListAllComplete(resourceGroupName string, namespaceName string, cancel <-chan struct{}) (<-chan TopicResource, <-chan error)
ListAllComplete gets all elements from the list without paging.
func (TopicsClient) ListAllNextResults ¶
func (client TopicsClient) ListAllNextResults(lastResults TopicListResult) (result TopicListResult, err error)
ListAllNextResults retrieves the next set of results, if any.
func (TopicsClient) ListAllPreparer ¶
func (client TopicsClient) ListAllPreparer(resourceGroupName string, namespaceName string) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (TopicsClient) ListAllResponder ¶
func (client TopicsClient) ListAllResponder(resp *http.Response) (result TopicListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (TopicsClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (TopicsClient) ListAuthorizationRules ¶
func (client TopicsClient) ListAuthorizationRules(resourceGroupName string, namespaceName string, topicName string) (result SharedAccessAuthorizationRuleListResult, err error)
ListAuthorizationRules gets authorization rules for a topic.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name.
func (TopicsClient) ListAuthorizationRulesComplete ¶
func (client TopicsClient) ListAuthorizationRulesComplete(resourceGroupName string, namespaceName string, topicName string, cancel <-chan struct{}) (<-chan SharedAccessAuthorizationRuleResource, <-chan error)
ListAuthorizationRulesComplete gets all elements from the list without paging.
func (TopicsClient) ListAuthorizationRulesNextResults ¶
func (client TopicsClient) ListAuthorizationRulesNextResults(lastResults SharedAccessAuthorizationRuleListResult) (result SharedAccessAuthorizationRuleListResult, err error)
ListAuthorizationRulesNextResults retrieves the next set of results, if any.
func (TopicsClient) ListAuthorizationRulesPreparer ¶
func (client TopicsClient) ListAuthorizationRulesPreparer(resourceGroupName string, namespaceName string, topicName string) (*http.Request, error)
ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.
func (TopicsClient) ListAuthorizationRulesResponder ¶
func (client TopicsClient) ListAuthorizationRulesResponder(resp *http.Response) (result SharedAccessAuthorizationRuleListResult, err error)
ListAuthorizationRulesResponder handles the response to the ListAuthorizationRules request. The method always closes the http.Response Body.
func (TopicsClient) ListAuthorizationRulesSender ¶
ListAuthorizationRulesSender sends the ListAuthorizationRules request. The method will close the http.Response Body if it receives an error.
func (TopicsClient) ListKeys ¶
func (client TopicsClient) ListKeys(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (result ResourceListKeys, err error)
ListKeys gets the primary and secondary connection strings for the topic.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name. authorizationRuleName is the authorizationrule name.
func (TopicsClient) ListKeysPreparer ¶
func (client TopicsClient) ListKeysPreparer(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (TopicsClient) ListKeysResponder ¶
func (client TopicsClient) ListKeysResponder(resp *http.Response) (result ResourceListKeys, err error)
ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (TopicsClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (TopicsClient) RegenerateKeys ¶
func (client TopicsClient) RegenerateKeys(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters RegenerateKeysParameters) (result ResourceListKeys, err error)
RegenerateKeys regenerates primary or secondary connection strings for the topic.
resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace name topicName is the topic name. authorizationRuleName is the authorizationrule name. parameters is parameters supplied to regenerate the authorization rule.
func (TopicsClient) RegenerateKeysPreparer ¶
func (client TopicsClient) RegenerateKeysPreparer(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters RegenerateKeysParameters) (*http.Request, error)
RegenerateKeysPreparer prepares the RegenerateKeys request.
func (TopicsClient) RegenerateKeysResponder ¶
func (client TopicsClient) RegenerateKeysResponder(resp *http.Response) (result ResourceListKeys, err error)
RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.
func (TopicsClient) RegenerateKeysSender ¶
RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.
type TrackedResource ¶
type TrackedResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Location *string `json:"location,omitempty"` Type *string `json:"type,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
TrackedResource is the Resource definition.
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" )