servicebus

package
v39.3.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package servicebus implements the Azure ARM Servicebus service API version 2017-04-01.

Azure Service Bus client

Index

Constants

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

type AccessKeys struct {
	autorest.Response `json:"-"`
	// PrimaryConnectionString - READ-ONLY; Primary connection string of the created namespace authorization rule.
	PrimaryConnectionString *string `json:"primaryConnectionString,omitempty"`
	// SecondaryConnectionString - READ-ONLY; Secondary connection string of the created namespace authorization rule.
	SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty"`
	// AliasPrimaryConnectionString - READ-ONLY; Primary connection string of the alias if GEO DR is enabled
	AliasPrimaryConnectionString *string `json:"aliasPrimaryConnectionString,omitempty"`
	// AliasSecondaryConnectionString - READ-ONLY; Secondary  connection string of the alias if GEO DR is enabled
	AliasSecondaryConnectionString *string `json:"aliasSecondaryConnectionString,omitempty"`
	// PrimaryKey - READ-ONLY; A base64-encoded 256-bit primary key for signing and validating the SAS token.
	PrimaryKey *string `json:"primaryKey,omitempty"`
	// SecondaryKey - READ-ONLY; A base64-encoded 256-bit primary key for signing and validating the SAS token.
	SecondaryKey *string `json:"secondaryKey,omitempty"`
	// KeyName - READ-ONLY; A string that describes the authorization rule.
	KeyName *string `json:"keyName,omitempty"`
}

AccessKeys namespace/ServiceBus Connection String

type AccessRights

type AccessRights string

AccessRights enumerates the values for access rights.

const (
	// Listen ...
	Listen AccessRights = "Listen"
	// Manage ...
	Manage AccessRights = "Manage"
	// Send ...
	Send AccessRights = "Send"
)

func PossibleAccessRightsValues

func PossibleAccessRightsValues() []AccessRights

PossibleAccessRightsValues returns an array of possible values for the AccessRights const type.

type Action

type Action struct {
	// SQLExpression - SQL expression. e.g. MyProperty='ABC'
	SQLExpression *string `json:"sqlExpression,omitempty"`
	// CompatibilityLevel - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
	CompatibilityLevel *int32 `json:"compatibilityLevel,omitempty"`
	// RequiresPreprocessing - Value that indicates whether the rule action requires preprocessing.
	RequiresPreprocessing *bool `json:"requiresPreprocessing,omitempty"`
}

Action represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.

type ArmDisasterRecovery

type ArmDisasterRecovery struct {
	autorest.Response `json:"-"`
	// ArmDisasterRecoveryProperties - Properties required to the Create Or Update Alias(Disaster Recovery configurations)
	*ArmDisasterRecoveryProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

ArmDisasterRecovery single item in List or Get Alias(Disaster Recovery configuration) operation

func (ArmDisasterRecovery) MarshalJSON

func (adr ArmDisasterRecovery) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ArmDisasterRecovery.

func (*ArmDisasterRecovery) UnmarshalJSON

func (adr *ArmDisasterRecovery) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ArmDisasterRecovery struct.

type ArmDisasterRecoveryListResult

type ArmDisasterRecoveryListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Alias(Disaster Recovery configurations)
	Value *[]ArmDisasterRecovery `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next set of results. Not empty if Value contains incomplete list of Alias(Disaster Recovery configuration)
	NextLink *string `json:"nextLink,omitempty"`
}

ArmDisasterRecoveryListResult the result of the List Alias(Disaster Recovery configuration) operation.

func (ArmDisasterRecoveryListResult) IsEmpty

func (adrlr ArmDisasterRecoveryListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ArmDisasterRecoveryListResultIterator

type ArmDisasterRecoveryListResultIterator struct {
	// contains filtered or unexported fields
}

ArmDisasterRecoveryListResultIterator provides access to a complete listing of ArmDisasterRecovery values.

func NewArmDisasterRecoveryListResultIterator

func NewArmDisasterRecoveryListResultIterator(page ArmDisasterRecoveryListResultPage) ArmDisasterRecoveryListResultIterator

Creates a new instance of the ArmDisasterRecoveryListResultIterator type.

func (*ArmDisasterRecoveryListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ArmDisasterRecoveryListResultIterator) NextWithContext

func (iter *ArmDisasterRecoveryListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ArmDisasterRecoveryListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ArmDisasterRecoveryListResultIterator) Response

Response returns the raw server response from the last page request.

func (ArmDisasterRecoveryListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ArmDisasterRecoveryListResultPage

type ArmDisasterRecoveryListResultPage struct {
	// contains filtered or unexported fields
}

ArmDisasterRecoveryListResultPage contains a page of ArmDisasterRecovery values.

func NewArmDisasterRecoveryListResultPage

Creates a new instance of the ArmDisasterRecoveryListResultPage type.

func (*ArmDisasterRecoveryListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ArmDisasterRecoveryListResultPage) NextWithContext

func (page *ArmDisasterRecoveryListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ArmDisasterRecoveryListResultPage) NotDone

func (page ArmDisasterRecoveryListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ArmDisasterRecoveryListResultPage) Response

Response returns the raw server response from the last page request.

func (ArmDisasterRecoveryListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ArmDisasterRecoveryProperties

type ArmDisasterRecoveryProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'. Possible values include: 'Accepted', 'Succeeded', 'Failed'
	ProvisioningState ProvisioningStateDR `json:"provisioningState,omitempty"`
	// PendingReplicationOperationsCount - READ-ONLY; Number of entities pending to be replicated.
	PendingReplicationOperationsCount *int64 `json:"pendingReplicationOperationsCount,omitempty"`
	// PartnerNamespace - ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
	PartnerNamespace *string `json:"partnerNamespace,omitempty"`
	// AlternateName - Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
	AlternateName *string `json:"alternateName,omitempty"`
	// Role - READ-ONLY; role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'. Possible values include: 'Primary', 'PrimaryNotReplicating', 'Secondary'
	Role RoleDisasterRecovery `json:"role,omitempty"`
}

ArmDisasterRecoveryProperties properties required to the Create Or Update Alias(Disaster Recovery configurations)

type AuthorizationRuleProperties

type AuthorizationRuleProperties struct {
	// Rights - The rights associated with the rule.
	Rights *[]AccessRights `json:"rights,omitempty"`
}

AuthorizationRuleProperties authorizationRule properties.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Servicebus.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CaptureDescription

type CaptureDescription struct {
	// Enabled - A value that indicates whether capture description is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// Encoding - Enumerates the possible values for the encoding format of capture description. Possible values include: 'Avro', 'AvroDeflate'
	Encoding EncodingCaptureDescription `json:"encoding,omitempty"`
	// IntervalInSeconds - The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
	IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"`
	// SizeLimitInBytes - The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 and 524288000 bytes
	SizeLimitInBytes *int32 `json:"sizeLimitInBytes,omitempty"`
	// Destination - Properties of Destination where capture will be stored. (Storage Account, Blob Names)
	Destination *Destination `json:"destination,omitempty"`
}

CaptureDescription properties to configure capture description for eventhub

type CheckNameAvailability

type CheckNameAvailability struct {
	// Name - The Name to check the namespace name availability and The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number.
	Name *string `json:"name,omitempty"`
}

CheckNameAvailability description of a Check Name availability request properties.

type CheckNameAvailabilityResult

type CheckNameAvailabilityResult struct {
	autorest.Response `json:"-"`
	// Message - READ-ONLY; The detailed info regarding the reason associated with the namespace.
	Message *string `json:"message,omitempty"`
	// NameAvailable - Value indicating namespace is availability, true if the namespace is available; otherwise, false.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - The reason for unavailability of a namespace. Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', 'NameInUse', 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription'
	Reason UnavailableReason `json:"reason,omitempty"`
}

CheckNameAvailabilityResult description of a Check Name availability request properties.

type CorrelationFilter

type CorrelationFilter struct {
	// Properties - dictionary object for custom filters
	Properties map[string]*string `json:"properties"`
	// CorrelationID - Identifier of the correlation.
	CorrelationID *string `json:"correlationId,omitempty"`
	// MessageID - Identifier of the message.
	MessageID *string `json:"messageId,omitempty"`
	// To - Address to send to.
	To *string `json:"to,omitempty"`
	// ReplyTo - Address of the queue to reply to.
	ReplyTo *string `json:"replyTo,omitempty"`
	// Label - Application specific label.
	Label *string `json:"label,omitempty"`
	// SessionID - Session identifier.
	SessionID *string `json:"sessionId,omitempty"`
	// ReplyToSessionID - Session identifier to reply to.
	ReplyToSessionID *string `json:"replyToSessionId,omitempty"`
	// ContentType - Content type of the message.
	ContentType *string `json:"contentType,omitempty"`
	// RequiresPreprocessing - Value that indicates whether the rule action requires preprocessing.
	RequiresPreprocessing *bool `json:"requiresPreprocessing,omitempty"`
}

CorrelationFilter represents the correlation filter expression.

func (CorrelationFilter) MarshalJSON

func (cf CorrelationFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CorrelationFilter.

type DefaultAction

type DefaultAction string

DefaultAction enumerates the values for default action.

const (
	// Allow ...
	Allow DefaultAction = "Allow"
	// Deny ...
	Deny DefaultAction = "Deny"
)

func PossibleDefaultActionValues

func PossibleDefaultActionValues() []DefaultAction

PossibleDefaultActionValues returns an array of possible values for the DefaultAction const type.

type Destination

type Destination struct {
	// Name - Name for capture destination
	Name *string `json:"name,omitempty"`
	// DestinationProperties - Properties describing the storage account, blob container and archive name format for capture destination
	*DestinationProperties `json:"properties,omitempty"`
}

Destination capture storage details for capture description

func (Destination) MarshalJSON

func (d Destination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Destination.

func (*Destination) UnmarshalJSON

func (d *Destination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Destination struct.

type DestinationProperties

type DestinationProperties struct {
	// StorageAccountResourceID - Resource id of the storage account to be used to create the blobs
	StorageAccountResourceID *string `json:"storageAccountResourceId,omitempty"`
	// BlobContainer - Blob container Name
	BlobContainer *string `json:"blobContainer,omitempty"`
	// ArchiveNameFormat - Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
	ArchiveNameFormat *string `json:"archiveNameFormat,omitempty"`
}

DestinationProperties properties describing the storage account, blob container and archive name format for capture destination

type DisasterRecoveryConfigsClient

type DisasterRecoveryConfigsClient struct {
	BaseClient
}

DisasterRecoveryConfigsClient is the azure Service Bus client

func NewDisasterRecoveryConfigsClient

func NewDisasterRecoveryConfigsClient(subscriptionID string) DisasterRecoveryConfigsClient

NewDisasterRecoveryConfigsClient creates an instance of the DisasterRecoveryConfigsClient client.

func NewDisasterRecoveryConfigsClientWithBaseURI

func NewDisasterRecoveryConfigsClientWithBaseURI(baseURI string, subscriptionID string) DisasterRecoveryConfigsClient

NewDisasterRecoveryConfigsClientWithBaseURI creates an instance of the DisasterRecoveryConfigsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DisasterRecoveryConfigsClient) BreakPairing

func (client DisasterRecoveryConfigsClient) BreakPairing(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result autorest.Response, err error)

BreakPairing this operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name alias - the Disaster Recovery configuration name

func (DisasterRecoveryConfigsClient) BreakPairingPreparer

func (client DisasterRecoveryConfigsClient) BreakPairingPreparer(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (*http.Request, error)

BreakPairingPreparer prepares the BreakPairing request.

func (DisasterRecoveryConfigsClient) BreakPairingResponder

func (client DisasterRecoveryConfigsClient) BreakPairingResponder(resp *http.Response) (result autorest.Response, err error)

BreakPairingResponder handles the response to the BreakPairing request. The method always closes the http.Response Body.

func (DisasterRecoveryConfigsClient) BreakPairingSender

func (client DisasterRecoveryConfigsClient) BreakPairingSender(req *http.Request) (*http.Response, error)

BreakPairingSender sends the BreakPairing request. The method will close the http.Response Body if it receives an error.

func (DisasterRecoveryConfigsClient) CheckNameAvailabilityMethod

func (client DisasterRecoveryConfigsClient) CheckNameAvailabilityMethod(ctx context.Context, resourceGroupName string, namespaceName string, parameters CheckNameAvailability) (result CheckNameAvailabilityResult, err error)

CheckNameAvailabilityMethod check the give namespace name availability. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name parameters - parameters to check availability of the given namespace name

func (DisasterRecoveryConfigsClient) CheckNameAvailabilityMethodPreparer

func (client DisasterRecoveryConfigsClient) CheckNameAvailabilityMethodPreparer(ctx context.Context, resourceGroupName string, namespaceName string, parameters CheckNameAvailability) (*http.Request, error)

CheckNameAvailabilityMethodPreparer prepares the CheckNameAvailabilityMethod request.

func (DisasterRecoveryConfigsClient) CheckNameAvailabilityMethodResponder

func (client DisasterRecoveryConfigsClient) 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 (DisasterRecoveryConfigsClient) CheckNameAvailabilityMethodSender

func (client DisasterRecoveryConfigsClient) 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 (DisasterRecoveryConfigsClient) CreateOrUpdate

func (client DisasterRecoveryConfigsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, alias string, parameters ArmDisasterRecovery) (result ArmDisasterRecovery, err error)

CreateOrUpdate creates or updates a new Alias(Disaster Recovery configuration) Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name alias - the Disaster Recovery configuration name parameters - parameters required to create an Alias(Disaster Recovery configuration)

func (DisasterRecoveryConfigsClient) CreateOrUpdatePreparer

func (client DisasterRecoveryConfigsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, alias string, parameters ArmDisasterRecovery) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DisasterRecoveryConfigsClient) CreateOrUpdateResponder

func (client DisasterRecoveryConfigsClient) CreateOrUpdateResponder(resp *http.Response) (result ArmDisasterRecovery, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DisasterRecoveryConfigsClient) CreateOrUpdateSender

func (client DisasterRecoveryConfigsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DisasterRecoveryConfigsClient) Delete

func (client DisasterRecoveryConfigsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result autorest.Response, err error)

Delete deletes an Alias(Disaster Recovery configuration) Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name alias - the Disaster Recovery configuration name

func (DisasterRecoveryConfigsClient) DeletePreparer

func (client DisasterRecoveryConfigsClient) DeletePreparer(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DisasterRecoveryConfigsClient) DeleteResponder

func (client DisasterRecoveryConfigsClient) 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 (DisasterRecoveryConfigsClient) DeleteSender

func (client DisasterRecoveryConfigsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DisasterRecoveryConfigsClient) FailOver

func (client DisasterRecoveryConfigsClient) FailOver(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result autorest.Response, err error)

FailOver invokes GEO DR failover and reconfigure the alias to point to the secondary namespace Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name alias - the Disaster Recovery configuration name

func (DisasterRecoveryConfigsClient) FailOverPreparer

func (client DisasterRecoveryConfigsClient) FailOverPreparer(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (*http.Request, error)

FailOverPreparer prepares the FailOver request.

func (DisasterRecoveryConfigsClient) FailOverResponder

func (client DisasterRecoveryConfigsClient) FailOverResponder(resp *http.Response) (result autorest.Response, err error)

FailOverResponder handles the response to the FailOver request. The method always closes the http.Response Body.

func (DisasterRecoveryConfigsClient) FailOverSender

func (client DisasterRecoveryConfigsClient) FailOverSender(req *http.Request) (*http.Response, error)

FailOverSender sends the FailOver request. The method will close the http.Response Body if it receives an error.

func (DisasterRecoveryConfigsClient) Get

func (client DisasterRecoveryConfigsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result ArmDisasterRecovery, err error)

Get retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name alias - the Disaster Recovery configuration name

func (DisasterRecoveryConfigsClient) GetAuthorizationRule

func (client DisasterRecoveryConfigsClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, alias string, authorizationRuleName string) (result SBAuthorizationRule, err error)

GetAuthorizationRule gets an authorization rule for a namespace by rule name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name alias - the Disaster Recovery configuration name authorizationRuleName - the authorization rule name.

func (DisasterRecoveryConfigsClient) GetAuthorizationRulePreparer

func (client DisasterRecoveryConfigsClient) GetAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, alias string, authorizationRuleName string) (*http.Request, error)

GetAuthorizationRulePreparer prepares the GetAuthorizationRule request.

func (DisasterRecoveryConfigsClient) GetAuthorizationRuleResponder

func (client DisasterRecoveryConfigsClient) GetAuthorizationRuleResponder(resp *http.Response) (result SBAuthorizationRule, err error)

GetAuthorizationRuleResponder handles the response to the GetAuthorizationRule request. The method always closes the http.Response Body.

func (DisasterRecoveryConfigsClient) GetAuthorizationRuleSender

func (client DisasterRecoveryConfigsClient) 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 (DisasterRecoveryConfigsClient) GetPreparer

func (client DisasterRecoveryConfigsClient) GetPreparer(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DisasterRecoveryConfigsClient) GetResponder

func (client DisasterRecoveryConfigsClient) GetResponder(resp *http.Response) (result ArmDisasterRecovery, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DisasterRecoveryConfigsClient) GetSender

func (client DisasterRecoveryConfigsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DisasterRecoveryConfigsClient) List

func (client DisasterRecoveryConfigsClient) List(ctx context.Context, resourceGroupName string, namespaceName string) (result ArmDisasterRecoveryListResultPage, err error)

List gets all Alias(Disaster Recovery configurations) Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (DisasterRecoveryConfigsClient) ListAuthorizationRules

func (client DisasterRecoveryConfigsClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result SBAuthorizationRuleListResultPage, err error)

ListAuthorizationRules gets the authorization rules for a namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name alias - the Disaster Recovery configuration name

func (DisasterRecoveryConfigsClient) ListAuthorizationRulesComplete

func (client DisasterRecoveryConfigsClient) ListAuthorizationRulesComplete(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result SBAuthorizationRuleListResultIterator, err error)

ListAuthorizationRulesComplete enumerates all values, automatically crossing page boundaries as required.

func (DisasterRecoveryConfigsClient) ListAuthorizationRulesPreparer

func (client DisasterRecoveryConfigsClient) ListAuthorizationRulesPreparer(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (*http.Request, error)

ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.

func (DisasterRecoveryConfigsClient) ListAuthorizationRulesResponder

func (client DisasterRecoveryConfigsClient) ListAuthorizationRulesResponder(resp *http.Response) (result SBAuthorizationRuleListResult, err error)

ListAuthorizationRulesResponder handles the response to the ListAuthorizationRules request. The method always closes the http.Response Body.

func (DisasterRecoveryConfigsClient) ListAuthorizationRulesSender

func (client DisasterRecoveryConfigsClient) 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 (DisasterRecoveryConfigsClient) ListComplete

func (client DisasterRecoveryConfigsClient) ListComplete(ctx context.Context, resourceGroupName string, namespaceName string) (result ArmDisasterRecoveryListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DisasterRecoveryConfigsClient) ListKeys

func (client DisasterRecoveryConfigsClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, alias string, authorizationRuleName string) (result AccessKeys, err error)

ListKeys gets the primary and secondary connection strings for the namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name alias - the Disaster Recovery configuration name authorizationRuleName - the authorization rule name.

func (DisasterRecoveryConfigsClient) ListKeysPreparer

func (client DisasterRecoveryConfigsClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, namespaceName string, alias string, authorizationRuleName string) (*http.Request, error)

ListKeysPreparer prepares the ListKeys request.

func (DisasterRecoveryConfigsClient) ListKeysResponder

func (client DisasterRecoveryConfigsClient) ListKeysResponder(resp *http.Response) (result AccessKeys, err error)

ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (DisasterRecoveryConfigsClient) ListKeysSender

func (client DisasterRecoveryConfigsClient) ListKeysSender(req *http.Request) (*http.Response, error)

ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.

func (DisasterRecoveryConfigsClient) ListPreparer

func (client DisasterRecoveryConfigsClient) ListPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (DisasterRecoveryConfigsClient) ListResponder

func (client DisasterRecoveryConfigsClient) ListResponder(resp *http.Response) (result ArmDisasterRecoveryListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DisasterRecoveryConfigsClient) ListSender

func (client DisasterRecoveryConfigsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type EncodingCaptureDescription

type EncodingCaptureDescription string

EncodingCaptureDescription enumerates the values for encoding capture description.

const (
	// Avro ...
	Avro EncodingCaptureDescription = "Avro"
	// AvroDeflate ...
	AvroDeflate EncodingCaptureDescription = "AvroDeflate"
)

func PossibleEncodingCaptureDescriptionValues

func PossibleEncodingCaptureDescriptionValues() []EncodingCaptureDescription

PossibleEncodingCaptureDescriptionValues returns an array of possible values for the EncodingCaptureDescription const type.

type EntityStatus

type EntityStatus string

EntityStatus enumerates the values for entity status.

const (
	// Active ...
	Active EntityStatus = "Active"
	// Creating ...
	Creating EntityStatus = "Creating"
	// Deleting ...
	Deleting EntityStatus = "Deleting"
	// Disabled ...
	Disabled EntityStatus = "Disabled"
	// ReceiveDisabled ...
	ReceiveDisabled EntityStatus = "ReceiveDisabled"
	// Renaming ...
	Renaming EntityStatus = "Renaming"
	// Restoring ...
	Restoring EntityStatus = "Restoring"
	// SendDisabled ...
	SendDisabled EntityStatus = "SendDisabled"
	// Unknown ...
	Unknown EntityStatus = "Unknown"
)

func PossibleEntityStatusValues

func PossibleEntityStatusValues() []EntityStatus

PossibleEntityStatusValues returns an array of possible values for the EntityStatus const type.

type ErrorResponse

type ErrorResponse struct {
	// Code - Error code.
	Code *string `json:"code,omitempty"`
	// Message - Error message indicating why the operation failed.
	Message *string `json:"message,omitempty"`
}

ErrorResponse error response indicates ServiceBus service is not able to process the incoming request. The reason is provided in the error message.

type EventHubListResult

type EventHubListResult struct {
	autorest.Response `json:"-"`
	// Value - Result of the List EventHubs operation.
	Value *[]Eventhub `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next set of results. Not empty if Value contains incomplete list of EventHubs.
	NextLink *string `json:"nextLink,omitempty"`
}

EventHubListResult the result of the List EventHubs operation.

func (EventHubListResult) IsEmpty

func (ehlr EventHubListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EventHubListResultIterator

type EventHubListResultIterator struct {
	// contains filtered or unexported fields
}

EventHubListResultIterator provides access to a complete listing of Eventhub values.

func NewEventHubListResultIterator

func NewEventHubListResultIterator(page EventHubListResultPage) EventHubListResultIterator

Creates a new instance of the EventHubListResultIterator type.

func (*EventHubListResultIterator) Next

func (iter *EventHubListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EventHubListResultIterator) NextWithContext

func (iter *EventHubListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EventHubListResultIterator) NotDone

func (iter EventHubListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (EventHubListResultIterator) Response

Response returns the raw server response from the last page request.

func (EventHubListResultIterator) Value

func (iter EventHubListResultIterator) Value() Eventhub

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EventHubListResultPage

type EventHubListResultPage struct {
	// contains filtered or unexported fields
}

EventHubListResultPage contains a page of Eventhub values.

func NewEventHubListResultPage

func NewEventHubListResultPage(getNextPage func(context.Context, EventHubListResult) (EventHubListResult, error)) EventHubListResultPage

Creates a new instance of the EventHubListResultPage type.

func (*EventHubListResultPage) Next

func (page *EventHubListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EventHubListResultPage) NextWithContext

func (page *EventHubListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EventHubListResultPage) NotDone

func (page EventHubListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EventHubListResultPage) Response

Response returns the raw server response from the last page request.

func (EventHubListResultPage) Values

func (page EventHubListResultPage) Values() []Eventhub

Values returns the slice of values for the current page or nil if there are no values.

type EventHubsClient

type EventHubsClient struct {
	BaseClient
}

EventHubsClient is the azure Service Bus client

func NewEventHubsClient

func NewEventHubsClient(subscriptionID string) EventHubsClient

NewEventHubsClient creates an instance of the EventHubsClient client.

func NewEventHubsClientWithBaseURI

func NewEventHubsClientWithBaseURI(baseURI string, subscriptionID string) EventHubsClient

NewEventHubsClientWithBaseURI creates an instance of the EventHubsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (EventHubsClient) ListByNamespace

func (client EventHubsClient) ListByNamespace(ctx context.Context, resourceGroupName string, namespaceName string) (result EventHubListResultPage, err error)

ListByNamespace gets all the Event Hubs in a service bus Namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (EventHubsClient) ListByNamespaceComplete

func (client EventHubsClient) ListByNamespaceComplete(ctx context.Context, resourceGroupName string, namespaceName string) (result EventHubListResultIterator, err error)

ListByNamespaceComplete enumerates all values, automatically crossing page boundaries as required.

func (EventHubsClient) ListByNamespacePreparer

func (client EventHubsClient) ListByNamespacePreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

ListByNamespacePreparer prepares the ListByNamespace request.

func (EventHubsClient) ListByNamespaceResponder

func (client EventHubsClient) ListByNamespaceResponder(resp *http.Response) (result EventHubListResult, err error)

ListByNamespaceResponder handles the response to the ListByNamespace request. The method always closes the http.Response Body.

func (EventHubsClient) ListByNamespaceSender

func (client EventHubsClient) ListByNamespaceSender(req *http.Request) (*http.Response, error)

ListByNamespaceSender sends the ListByNamespace request. The method will close the http.Response Body if it receives an error.

type Eventhub

type Eventhub struct {
	// EventhubProperties - Properties supplied to the Create Or Update Event Hub operation.
	*EventhubProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Eventhub single item in List or Get Event Hub operation

func (Eventhub) MarshalJSON

func (e Eventhub) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Eventhub.

func (*Eventhub) UnmarshalJSON

func (e *Eventhub) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Eventhub struct.

type EventhubProperties

type EventhubProperties struct {
	// PartitionIds - READ-ONLY; Current number of shards on the Event Hub.
	PartitionIds *[]string `json:"partitionIds,omitempty"`
	// CreatedAt - READ-ONLY; Exact time the Event Hub was created.
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// UpdatedAt - READ-ONLY; The exact time the message was updated.
	UpdatedAt *date.Time `json:"updatedAt,omitempty"`
	// MessageRetentionInDays - Number of days to retain the events for this Event Hub, value should be 1 to 7 days
	MessageRetentionInDays *int64 `json:"messageRetentionInDays,omitempty"`
	// PartitionCount - Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
	PartitionCount *int64 `json:"partitionCount,omitempty"`
	// Status - Enumerates the possible values for the status of the Event Hub. Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown'
	Status EntityStatus `json:"status,omitempty"`
	// CaptureDescription - Properties of capture description
	CaptureDescription *CaptureDescription `json:"captureDescription,omitempty"`
}

EventhubProperties properties supplied to the Create Or Update Event Hub operation.

type FilterType

type FilterType string

FilterType enumerates the values for filter type.

const (
	// FilterTypeCorrelationFilter ...
	FilterTypeCorrelationFilter FilterType = "CorrelationFilter"
	// FilterTypeSQLFilter ...
	FilterTypeSQLFilter FilterType = "SqlFilter"
)

func PossibleFilterTypeValues

func PossibleFilterTypeValues() []FilterType

PossibleFilterTypeValues returns an array of possible values for the FilterType const type.

type KeyType

type KeyType string

KeyType enumerates the values for key type.

const (
	// PrimaryKey ...
	PrimaryKey KeyType = "PrimaryKey"
	// SecondaryKey ...
	SecondaryKey KeyType = "SecondaryKey"
)

func PossibleKeyTypeValues

func PossibleKeyTypeValues() []KeyType

PossibleKeyTypeValues returns an array of possible values for the KeyType const type.

type MessageCountDetails

type MessageCountDetails struct {
	// ActiveMessageCount - READ-ONLY; Number of active messages in the queue, topic, or subscription.
	ActiveMessageCount *int64 `json:"activeMessageCount,omitempty"`
	// DeadLetterMessageCount - READ-ONLY; Number of messages that are dead lettered.
	DeadLetterMessageCount *int64 `json:"deadLetterMessageCount,omitempty"`
	// ScheduledMessageCount - READ-ONLY; Number of scheduled messages.
	ScheduledMessageCount *int64 `json:"scheduledMessageCount,omitempty"`
	// TransferMessageCount - READ-ONLY; Number of messages transferred to another queue, topic, or subscription.
	TransferMessageCount *int64 `json:"transferMessageCount,omitempty"`
	// TransferDeadLetterMessageCount - READ-ONLY; Number of messages transferred into dead letters.
	TransferDeadLetterMessageCount *int64 `json:"transferDeadLetterMessageCount,omitempty"`
}

MessageCountDetails message Count Details.

type MigrationConfigListResult

type MigrationConfigListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Migration Configs
	Value *[]MigrationConfigProperties `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next set of results. Not empty if Value contains incomplete list of migrationConfigurations
	NextLink *string `json:"nextLink,omitempty"`
}

MigrationConfigListResult the result of the List migrationConfigurations operation.

func (MigrationConfigListResult) IsEmpty

func (mclr MigrationConfigListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MigrationConfigListResultIterator

type MigrationConfigListResultIterator struct {
	// contains filtered or unexported fields
}

MigrationConfigListResultIterator provides access to a complete listing of MigrationConfigProperties values.

func NewMigrationConfigListResultIterator

func NewMigrationConfigListResultIterator(page MigrationConfigListResultPage) MigrationConfigListResultIterator

Creates a new instance of the MigrationConfigListResultIterator type.

func (*MigrationConfigListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MigrationConfigListResultIterator) NextWithContext

func (iter *MigrationConfigListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (MigrationConfigListResultIterator) NotDone

func (iter MigrationConfigListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MigrationConfigListResultIterator) Response

Response returns the raw server response from the last page request.

func (MigrationConfigListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MigrationConfigListResultPage

type MigrationConfigListResultPage struct {
	// contains filtered or unexported fields
}

MigrationConfigListResultPage contains a page of MigrationConfigProperties values.

func NewMigrationConfigListResultPage

func NewMigrationConfigListResultPage(getNextPage func(context.Context, MigrationConfigListResult) (MigrationConfigListResult, error)) MigrationConfigListResultPage

Creates a new instance of the MigrationConfigListResultPage type.

func (*MigrationConfigListResultPage) Next

func (page *MigrationConfigListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MigrationConfigListResultPage) NextWithContext

func (page *MigrationConfigListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (MigrationConfigListResultPage) NotDone

func (page MigrationConfigListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MigrationConfigListResultPage) Response

Response returns the raw server response from the last page request.

func (MigrationConfigListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type MigrationConfigProperties

type MigrationConfigProperties struct {
	autorest.Response `json:"-"`
	// MigrationConfigPropertiesProperties - Properties required to the Create Migration Configuration
	*MigrationConfigPropertiesProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

MigrationConfigProperties single item in List or Get Migration Config operation

func (MigrationConfigProperties) MarshalJSON

func (mcp MigrationConfigProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MigrationConfigProperties.

func (*MigrationConfigProperties) UnmarshalJSON

func (mcp *MigrationConfigProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MigrationConfigProperties struct.

type MigrationConfigPropertiesProperties

type MigrationConfigPropertiesProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning state of Migration Configuration
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// PendingReplicationOperationsCount - READ-ONLY; Number of entities pending to be replicated.
	PendingReplicationOperationsCount *int64 `json:"pendingReplicationOperationsCount,omitempty"`
	// TargetNamespace - Existing premium Namespace ARM Id name which has no entities, will be used for migration
	TargetNamespace *string `json:"targetNamespace,omitempty"`
	// PostMigrationName - Name to access Standard Namespace after migration
	PostMigrationName *string `json:"postMigrationName,omitempty"`
	// MigrationState - READ-ONLY; State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active
	MigrationState *string `json:"migrationState,omitempty"`
}

MigrationConfigPropertiesProperties properties required to the Create Migration Configuration

type MigrationConfigsClient

type MigrationConfigsClient struct {
	BaseClient
}

MigrationConfigsClient is the azure Service Bus client

func NewMigrationConfigsClient

func NewMigrationConfigsClient(subscriptionID string) MigrationConfigsClient

NewMigrationConfigsClient creates an instance of the MigrationConfigsClient client.

func NewMigrationConfigsClientWithBaseURI

func NewMigrationConfigsClientWithBaseURI(baseURI string, subscriptionID string) MigrationConfigsClient

NewMigrationConfigsClientWithBaseURI creates an instance of the MigrationConfigsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MigrationConfigsClient) CompleteMigration

func (client MigrationConfigsClient) CompleteMigration(ctx context.Context, resourceGroupName string, namespaceName string) (result autorest.Response, err error)

CompleteMigration this operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace. CompleteMigration operation will fail when entity migration is in-progress. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (MigrationConfigsClient) CompleteMigrationPreparer

func (client MigrationConfigsClient) CompleteMigrationPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

CompleteMigrationPreparer prepares the CompleteMigration request.

func (MigrationConfigsClient) CompleteMigrationResponder

func (client MigrationConfigsClient) CompleteMigrationResponder(resp *http.Response) (result autorest.Response, err error)

CompleteMigrationResponder handles the response to the CompleteMigration request. The method always closes the http.Response Body.

func (MigrationConfigsClient) CompleteMigrationSender

func (client MigrationConfigsClient) CompleteMigrationSender(req *http.Request) (*http.Response, error)

CompleteMigrationSender sends the CompleteMigration request. The method will close the http.Response Body if it receives an error.

func (MigrationConfigsClient) CreateAndStartMigration

func (client MigrationConfigsClient) CreateAndStartMigration(ctx context.Context, resourceGroupName string, namespaceName string, parameters MigrationConfigProperties) (result MigrationConfigsCreateAndStartMigrationFuture, err error)

CreateAndStartMigration creates Migration configuration and starts migration of entities from Standard to Premium namespace Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name parameters - parameters required to create Migration Configuration

func (MigrationConfigsClient) CreateAndStartMigrationPreparer

func (client MigrationConfigsClient) CreateAndStartMigrationPreparer(ctx context.Context, resourceGroupName string, namespaceName string, parameters MigrationConfigProperties) (*http.Request, error)

CreateAndStartMigrationPreparer prepares the CreateAndStartMigration request.

func (MigrationConfigsClient) CreateAndStartMigrationResponder

func (client MigrationConfigsClient) CreateAndStartMigrationResponder(resp *http.Response) (result MigrationConfigProperties, err error)

CreateAndStartMigrationResponder handles the response to the CreateAndStartMigration request. The method always closes the http.Response Body.

func (MigrationConfigsClient) CreateAndStartMigrationSender

func (client MigrationConfigsClient) CreateAndStartMigrationSender(req *http.Request) (future MigrationConfigsCreateAndStartMigrationFuture, err error)

CreateAndStartMigrationSender sends the CreateAndStartMigration request. The method will close the http.Response Body if it receives an error.

func (MigrationConfigsClient) Delete

func (client MigrationConfigsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string) (result autorest.Response, err error)

Delete deletes a MigrationConfiguration Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (MigrationConfigsClient) DeletePreparer

func (client MigrationConfigsClient) DeletePreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MigrationConfigsClient) DeleteResponder

func (client MigrationConfigsClient) 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 (MigrationConfigsClient) DeleteSender

func (client MigrationConfigsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (MigrationConfigsClient) Get

func (client MigrationConfigsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string) (result MigrationConfigProperties, err error)

Get retrieves Migration Config Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (MigrationConfigsClient) GetPreparer

func (client MigrationConfigsClient) GetPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MigrationConfigsClient) GetResponder

func (client MigrationConfigsClient) GetResponder(resp *http.Response) (result MigrationConfigProperties, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MigrationConfigsClient) GetSender

func (client MigrationConfigsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MigrationConfigsClient) List

func (client MigrationConfigsClient) List(ctx context.Context, resourceGroupName string, namespaceName string) (result MigrationConfigListResultPage, err error)

List gets all migrationConfigurations Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (MigrationConfigsClient) ListComplete

func (client MigrationConfigsClient) ListComplete(ctx context.Context, resourceGroupName string, namespaceName string) (result MigrationConfigListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MigrationConfigsClient) ListPreparer

func (client MigrationConfigsClient) ListPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (MigrationConfigsClient) ListResponder

func (client MigrationConfigsClient) ListResponder(resp *http.Response) (result MigrationConfigListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MigrationConfigsClient) ListSender

func (client MigrationConfigsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (MigrationConfigsClient) Revert

func (client MigrationConfigsClient) Revert(ctx context.Context, resourceGroupName string, namespaceName string) (result autorest.Response, err error)

Revert this operation reverts Migration Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (MigrationConfigsClient) RevertPreparer

func (client MigrationConfigsClient) RevertPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

RevertPreparer prepares the Revert request.

func (MigrationConfigsClient) RevertResponder

func (client MigrationConfigsClient) RevertResponder(resp *http.Response) (result autorest.Response, err error)

RevertResponder handles the response to the Revert request. The method always closes the http.Response Body.

func (MigrationConfigsClient) RevertSender

func (client MigrationConfigsClient) RevertSender(req *http.Request) (*http.Response, error)

RevertSender sends the Revert request. The method will close the http.Response Body if it receives an error.

type MigrationConfigsCreateAndStartMigrationFuture

type MigrationConfigsCreateAndStartMigrationFuture struct {
	azure.Future
}

MigrationConfigsCreateAndStartMigrationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*MigrationConfigsCreateAndStartMigrationFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type NWRuleSetIPRules

type NWRuleSetIPRules struct {
	// IPMask - IP Mask
	IPMask *string `json:"ipMask,omitempty"`
	// Action - The IP Filter Action. Possible values include: 'NetworkRuleIPActionAllow'
	Action NetworkRuleIPAction `json:"action,omitempty"`
}

NWRuleSetIPRules description of NetWorkRuleSet - IpRules resource.

type NWRuleSetVirtualNetworkRules

type NWRuleSetVirtualNetworkRules struct {
	// Subnet - Subnet properties
	Subnet *Subnet `json:"subnet,omitempty"`
	// IgnoreMissingVnetServiceEndpoint - Value that indicates whether to ignore missing VNet Service Endpoint
	IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"`
}

NWRuleSetVirtualNetworkRules description of VirtualNetworkRules - NetworkRules resource.

type NameSpaceType

type NameSpaceType string

NameSpaceType enumerates the values for name space type.

const (
	// EventHub ...
	EventHub NameSpaceType = "EventHub"
	// Messaging ...
	Messaging NameSpaceType = "Messaging"
	// Mixed ...
	Mixed NameSpaceType = "Mixed"
	// NotificationHub ...
	NotificationHub NameSpaceType = "NotificationHub"
	// Relay ...
	Relay NameSpaceType = "Relay"
)

func PossibleNameSpaceTypeValues

func PossibleNameSpaceTypeValues() []NameSpaceType

PossibleNameSpaceTypeValues returns an array of possible values for the NameSpaceType const type.

type NamespacesClient

type NamespacesClient struct {
	BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (NamespacesClient) CheckNameAvailabilityMethod

func (client NamespacesClient) CheckNameAvailabilityMethod(ctx context.Context, parameters CheckNameAvailability) (result CheckNameAvailabilityResult, err error)

CheckNameAvailabilityMethod check the give namespace name availability. Parameters: parameters - parameters to check availability of the given namespace name

func (NamespacesClient) CheckNameAvailabilityMethodPreparer

func (client NamespacesClient) CheckNameAvailabilityMethodPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, namespaceName string, parameters SBNamespace) (result NamespacesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name. parameters - parameters supplied to create a namespace resource.

func (NamespacesClient) CreateOrUpdateAuthorizationRule

func (client NamespacesClient) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string, parameters SBAuthorizationRule) (result SBAuthorizationRule, err error)

CreateOrUpdateAuthorizationRule creates or updates an authorization rule for a namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name authorizationRuleName - the authorization rule name. parameters - the shared access authorization rule.

func (NamespacesClient) CreateOrUpdateAuthorizationRulePreparer

func (client NamespacesClient) CreateOrUpdateAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string, parameters SBAuthorizationRule) (*http.Request, error)

CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.

func (NamespacesClient) CreateOrUpdateAuthorizationRuleResponder

func (client NamespacesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SBAuthorizationRule, 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) CreateOrUpdateNetworkRuleSet

func (client NamespacesClient) CreateOrUpdateNetworkRuleSet(ctx context.Context, resourceGroupName string, namespaceName string, parameters NetworkRuleSet) (result NetworkRuleSet, err error)

CreateOrUpdateNetworkRuleSet create or update NetworkRuleSet for a Namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name parameters - the Namespace IpFilterRule.

func (NamespacesClient) CreateOrUpdateNetworkRuleSetPreparer

func (client NamespacesClient) CreateOrUpdateNetworkRuleSetPreparer(ctx context.Context, resourceGroupName string, namespaceName string, parameters NetworkRuleSet) (*http.Request, error)

CreateOrUpdateNetworkRuleSetPreparer prepares the CreateOrUpdateNetworkRuleSet request.

func (NamespacesClient) CreateOrUpdateNetworkRuleSetResponder

func (client NamespacesClient) CreateOrUpdateNetworkRuleSetResponder(resp *http.Response) (result NetworkRuleSet, err error)

CreateOrUpdateNetworkRuleSetResponder handles the response to the CreateOrUpdateNetworkRuleSet request. The method always closes the http.Response Body.

func (NamespacesClient) CreateOrUpdateNetworkRuleSetSender

func (client NamespacesClient) CreateOrUpdateNetworkRuleSetSender(req *http.Request) (*http.Response, error)

CreateOrUpdateNetworkRuleSetSender sends the CreateOrUpdateNetworkRuleSet request. The method will close the http.Response Body if it receives an error.

func (NamespacesClient) CreateOrUpdatePreparer

func (client NamespacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, parameters SBNamespace) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (NamespacesClient) CreateOrUpdateResponder

func (client NamespacesClient) CreateOrUpdateResponder(resp *http.Response) (result SBNamespace, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (NamespacesClient) CreateOrUpdateSender

func (client NamespacesClient) CreateOrUpdateSender(req *http.Request) (future NamespacesCreateOrUpdateFuture, err error)

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(ctx context.Context, resourceGroupName string, namespaceName string) (result NamespacesDeleteFuture, err error)

Delete deletes an existing namespace. This operation also removes all associated resources under the namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (NamespacesClient) DeleteAuthorizationRule

func (client NamespacesClient) DeleteAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string) (result autorest.Response, err error)

DeleteAuthorizationRule deletes a namespace authorization rule. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name authorizationRuleName - the authorization rule name.

func (NamespacesClient) DeleteAuthorizationRulePreparer

func (client NamespacesClient) DeleteAuthorizationRulePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, namespaceName string) (*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

func (client NamespacesClient) DeleteSender(req *http.Request) (future NamespacesDeleteFuture, err error)

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(ctx context.Context, resourceGroupName string, namespaceName string) (result SBNamespace, err error)

Get gets a description for the specified namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (NamespacesClient) GetAuthorizationRule

func (client NamespacesClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string) (result SBAuthorizationRule, err error)

GetAuthorizationRule gets an authorization rule for a namespace by rule name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name authorizationRuleName - the authorization rule name.

func (NamespacesClient) GetAuthorizationRulePreparer

func (client NamespacesClient) GetAuthorizationRulePreparer(ctx context.Context, 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 SBAuthorizationRule, 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) GetNetworkRuleSet

func (client NamespacesClient) GetNetworkRuleSet(ctx context.Context, resourceGroupName string, namespaceName string) (result NetworkRuleSet, err error)

GetNetworkRuleSet gets NetworkRuleSet for a Namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (NamespacesClient) GetNetworkRuleSetPreparer

func (client NamespacesClient) GetNetworkRuleSetPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

GetNetworkRuleSetPreparer prepares the GetNetworkRuleSet request.

func (NamespacesClient) GetNetworkRuleSetResponder

func (client NamespacesClient) GetNetworkRuleSetResponder(resp *http.Response) (result NetworkRuleSet, err error)

GetNetworkRuleSetResponder handles the response to the GetNetworkRuleSet request. The method always closes the http.Response Body.

func (NamespacesClient) GetNetworkRuleSetSender

func (client NamespacesClient) GetNetworkRuleSetSender(req *http.Request) (*http.Response, error)

GetNetworkRuleSetSender sends the GetNetworkRuleSet request. The method will close the http.Response Body if it receives an error.

func (NamespacesClient) GetPreparer

func (client NamespacesClient) GetPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (NamespacesClient) GetResponder

func (client NamespacesClient) GetResponder(resp *http.Response) (result SBNamespace, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (NamespacesClient) GetSender

func (client NamespacesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (NamespacesClient) List

func (client NamespacesClient) List(ctx context.Context) (result SBNamespaceListResultPage, err error)

List gets all the available namespaces within the subscription, irrespective of the resource groups.

func (NamespacesClient) ListAuthorizationRules

func (client NamespacesClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string) (result SBAuthorizationRuleListResultPage, err error)

ListAuthorizationRules gets the authorization rules for a namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (NamespacesClient) ListAuthorizationRulesComplete

func (client NamespacesClient) ListAuthorizationRulesComplete(ctx context.Context, resourceGroupName string, namespaceName string) (result SBAuthorizationRuleListResultIterator, err error)

ListAuthorizationRulesComplete enumerates all values, automatically crossing page boundaries as required.

func (NamespacesClient) ListAuthorizationRulesPreparer

func (client NamespacesClient) ListAuthorizationRulesPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.

func (NamespacesClient) ListAuthorizationRulesResponder

func (client NamespacesClient) ListAuthorizationRulesResponder(resp *http.Response) (result SBAuthorizationRuleListResult, 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(ctx context.Context, resourceGroupName string) (result SBNamespaceListResultPage, err error)

ListByResourceGroup gets the available namespaces within a resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription.

func (NamespacesClient) ListByResourceGroupComplete

func (client NamespacesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SBNamespaceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (NamespacesClient) ListByResourceGroupPreparer

func (client NamespacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (NamespacesClient) ListByResourceGroupResponder

func (client NamespacesClient) ListByResourceGroupResponder(resp *http.Response) (result SBNamespaceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (NamespacesClient) ListByResourceGroupSender

func (client NamespacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (NamespacesClient) ListComplete

func (client NamespacesClient) ListComplete(ctx context.Context) (result SBNamespaceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (NamespacesClient) ListKeys

func (client NamespacesClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string) (result AccessKeys, err error)

ListKeys gets the primary and secondary connection strings for the namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name authorizationRuleName - the authorization rule name.

func (NamespacesClient) ListKeysPreparer

func (client NamespacesClient) ListKeysPreparer(ctx context.Context, 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 AccessKeys, err error)

ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (NamespacesClient) ListKeysSender

func (client NamespacesClient) ListKeysSender(req *http.Request) (*http.Response, error)

ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.

func (NamespacesClient) ListNetworkRuleSets

func (client NamespacesClient) ListNetworkRuleSets(ctx context.Context, resourceGroupName string, namespaceName string) (result NetworkRuleSetListResultPage, err error)

ListNetworkRuleSets gets list of NetworkRuleSet for a Namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (NamespacesClient) ListNetworkRuleSetsComplete

func (client NamespacesClient) ListNetworkRuleSetsComplete(ctx context.Context, resourceGroupName string, namespaceName string) (result NetworkRuleSetListResultIterator, err error)

ListNetworkRuleSetsComplete enumerates all values, automatically crossing page boundaries as required.

func (NamespacesClient) ListNetworkRuleSetsPreparer

func (client NamespacesClient) ListNetworkRuleSetsPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error)

ListNetworkRuleSetsPreparer prepares the ListNetworkRuleSets request.

func (NamespacesClient) ListNetworkRuleSetsResponder

func (client NamespacesClient) ListNetworkRuleSetsResponder(resp *http.Response) (result NetworkRuleSetListResult, err error)

ListNetworkRuleSetsResponder handles the response to the ListNetworkRuleSets request. The method always closes the http.Response Body.

func (NamespacesClient) ListNetworkRuleSetsSender

func (client NamespacesClient) ListNetworkRuleSetsSender(req *http.Request) (*http.Response, error)

ListNetworkRuleSetsSender sends the ListNetworkRuleSets request. The method will close the http.Response Body if it receives an error.

func (NamespacesClient) ListPreparer

func (client NamespacesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (NamespacesClient) ListResponder

func (client NamespacesClient) ListResponder(resp *http.Response) (result SBNamespaceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (NamespacesClient) ListSender

func (client NamespacesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (NamespacesClient) Migrate

func (client NamespacesClient) Migrate(ctx context.Context, resourceGroupName string, namespaceName string, parameters SBNamespaceMigrate) (result autorest.Response, err error)

Migrate this operation Migrate the given namespace to provided name type Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name parameters - parameters supplied to migrate namespace type.

func (NamespacesClient) MigratePreparer

func (client NamespacesClient) MigratePreparer(ctx context.Context, resourceGroupName string, namespaceName string, parameters SBNamespaceMigrate) (*http.Request, error)

MigratePreparer prepares the Migrate request.

func (NamespacesClient) MigrateResponder

func (client NamespacesClient) MigrateResponder(resp *http.Response) (result autorest.Response, err error)

MigrateResponder handles the response to the Migrate request. The method always closes the http.Response Body.

func (NamespacesClient) MigrateSender

func (client NamespacesClient) MigrateSender(req *http.Request) (*http.Response, error)

MigrateSender sends the Migrate request. The method will close the http.Response Body if it receives an error.

func (NamespacesClient) RegenerateKeys

func (client NamespacesClient) RegenerateKeys(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (result AccessKeys, err error)

RegenerateKeys regenerates the primary or secondary connection strings for the namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name authorizationRuleName - the authorization rule name. parameters - parameters supplied to regenerate the authorization rule.

func (NamespacesClient) RegenerateKeysPreparer

func (client NamespacesClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (*http.Request, error)

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (NamespacesClient) RegenerateKeysResponder

func (client NamespacesClient) RegenerateKeysResponder(resp *http.Response) (result AccessKeys, err error)

RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.

func (NamespacesClient) RegenerateKeysSender

func (client NamespacesClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)

RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.

func (NamespacesClient) Update

func (client NamespacesClient) Update(ctx context.Context, resourceGroupName string, namespaceName string, parameters SBNamespaceUpdateParameters) (result SBNamespace, err error)

Update updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name parameters - parameters supplied to update a namespace resource.

func (NamespacesClient) UpdatePreparer

func (client NamespacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, parameters SBNamespaceUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (NamespacesClient) UpdateResponder

func (client NamespacesClient) UpdateResponder(resp *http.Response) (result SBNamespace, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (NamespacesClient) UpdateSender

func (client NamespacesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type NamespacesCreateOrUpdateFuture

type NamespacesCreateOrUpdateFuture struct {
	azure.Future
}

NamespacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*NamespacesCreateOrUpdateFuture) Result

func (future *NamespacesCreateOrUpdateFuture) Result(client NamespacesClient) (sn SBNamespace, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type NamespacesDeleteFuture

type NamespacesDeleteFuture struct {
	azure.Future
}

NamespacesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*NamespacesDeleteFuture) Result

func (future *NamespacesDeleteFuture) Result(client NamespacesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type NetworkRuleIPAction

type NetworkRuleIPAction string

NetworkRuleIPAction enumerates the values for network rule ip action.

const (
	// NetworkRuleIPActionAllow ...
	NetworkRuleIPActionAllow NetworkRuleIPAction = "Allow"
)

func PossibleNetworkRuleIPActionValues

func PossibleNetworkRuleIPActionValues() []NetworkRuleIPAction

PossibleNetworkRuleIPActionValues returns an array of possible values for the NetworkRuleIPAction const type.

type NetworkRuleSet

type NetworkRuleSet struct {
	autorest.Response `json:"-"`
	// NetworkRuleSetProperties - NetworkRuleSet properties
	*NetworkRuleSetProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

NetworkRuleSet description of NetworkRuleSet resource.

func (NetworkRuleSet) MarshalJSON

func (nrs NetworkRuleSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkRuleSet.

func (*NetworkRuleSet) UnmarshalJSON

func (nrs *NetworkRuleSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for NetworkRuleSet struct.

type NetworkRuleSetListResult

type NetworkRuleSetListResult struct {
	autorest.Response `json:"-"`
	// Value - Result of the List NetworkRuleSet operation.
	Value *[]NetworkRuleSet `json:"value,omitempty"`
	// NextLink - Link to the next set of results. Not empty if Value contains incomplete list of NetworkRuleSet.
	NextLink *string `json:"nextLink,omitempty"`
}

NetworkRuleSetListResult the response of the List NetworkRuleSet operation.

func (NetworkRuleSetListResult) IsEmpty

func (nrslr NetworkRuleSetListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type NetworkRuleSetListResultIterator

type NetworkRuleSetListResultIterator struct {
	// contains filtered or unexported fields
}

NetworkRuleSetListResultIterator provides access to a complete listing of NetworkRuleSet values.

func NewNetworkRuleSetListResultIterator

func NewNetworkRuleSetListResultIterator(page NetworkRuleSetListResultPage) NetworkRuleSetListResultIterator

Creates a new instance of the NetworkRuleSetListResultIterator type.

func (*NetworkRuleSetListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*NetworkRuleSetListResultIterator) NextWithContext

func (iter *NetworkRuleSetListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (NetworkRuleSetListResultIterator) NotDone

func (iter NetworkRuleSetListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (NetworkRuleSetListResultIterator) Response

Response returns the raw server response from the last page request.

func (NetworkRuleSetListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type NetworkRuleSetListResultPage

type NetworkRuleSetListResultPage struct {
	// contains filtered or unexported fields
}

NetworkRuleSetListResultPage contains a page of NetworkRuleSet values.

func NewNetworkRuleSetListResultPage

func NewNetworkRuleSetListResultPage(getNextPage func(context.Context, NetworkRuleSetListResult) (NetworkRuleSetListResult, error)) NetworkRuleSetListResultPage

Creates a new instance of the NetworkRuleSetListResultPage type.

func (*NetworkRuleSetListResultPage) Next

func (page *NetworkRuleSetListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*NetworkRuleSetListResultPage) NextWithContext

func (page *NetworkRuleSetListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (NetworkRuleSetListResultPage) NotDone

func (page NetworkRuleSetListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (NetworkRuleSetListResultPage) Response

Response returns the raw server response from the last page request.

func (NetworkRuleSetListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type NetworkRuleSetProperties

type NetworkRuleSetProperties struct {
	// DefaultAction - Default Action for Network Rule Set. Possible values include: 'Allow', 'Deny'
	DefaultAction DefaultAction `json:"defaultAction,omitempty"`
	// VirtualNetworkRules - List VirtualNetwork Rules
	VirtualNetworkRules *[]NWRuleSetVirtualNetworkRules `json:"virtualNetworkRules,omitempty"`
	// IPRules - List of IpRules
	IPRules *[]NWRuleSetIPRules `json:"ipRules,omitempty"`
}

NetworkRuleSetProperties networkRuleSet properties

type Operation

type Operation struct {
	// Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation a ServiceBus REST API operation

type OperationDisplay

type OperationDisplay struct {
	// Provider - READ-ONLY; Service provider: Microsoft.ServiceBus
	Provider *string `json:"provider,omitempty"`
	// Resource - READ-ONLY; Resource on which the operation is performed: Invoice, etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - READ-ONLY; Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of ServiceBus operations supported by the Microsoft.ServiceBus resource provider.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult 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) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

type OperationListResultIterator struct {
	// contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

type OperationListResultPage struct {
	// contains filtered or unexported fields
}

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available ServiceBus REST API operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*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

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PremiumMessagingRegions

type PremiumMessagingRegions struct {
	Properties *PremiumMessagingRegionsProperties `json:"properties,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

PremiumMessagingRegions premium Messaging Region

func (PremiumMessagingRegions) MarshalJSON

func (pmr PremiumMessagingRegions) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PremiumMessagingRegions.

type PremiumMessagingRegionsClient

type PremiumMessagingRegionsClient struct {
	BaseClient
}

PremiumMessagingRegionsClient is the azure Service Bus client

func NewPremiumMessagingRegionsClient

func NewPremiumMessagingRegionsClient(subscriptionID string) PremiumMessagingRegionsClient

NewPremiumMessagingRegionsClient creates an instance of the PremiumMessagingRegionsClient client.

func NewPremiumMessagingRegionsClientWithBaseURI

func NewPremiumMessagingRegionsClientWithBaseURI(baseURI string, subscriptionID string) PremiumMessagingRegionsClient

NewPremiumMessagingRegionsClientWithBaseURI creates an instance of the PremiumMessagingRegionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PremiumMessagingRegionsClient) List

List gets the available premium messaging regions for servicebus

func (PremiumMessagingRegionsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PremiumMessagingRegionsClient) ListPreparer

func (client PremiumMessagingRegionsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (PremiumMessagingRegionsClient) ListResponder

func (client PremiumMessagingRegionsClient) ListResponder(resp *http.Response) (result PremiumMessagingRegionsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PremiumMessagingRegionsClient) ListSender

func (client PremiumMessagingRegionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PremiumMessagingRegionsListResult

type PremiumMessagingRegionsListResult struct {
	autorest.Response `json:"-"`
	// Value - Result of the List PremiumMessagingRegions type.
	Value *[]PremiumMessagingRegions `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next set of results. Not empty if Value contains incomplete list of PremiumMessagingRegions.
	NextLink *string `json:"nextLink,omitempty"`
}

PremiumMessagingRegionsListResult the response of the List PremiumMessagingRegions operation.

func (PremiumMessagingRegionsListResult) IsEmpty

func (pmrlr PremiumMessagingRegionsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PremiumMessagingRegionsListResultIterator

type PremiumMessagingRegionsListResultIterator struct {
	// contains filtered or unexported fields
}

PremiumMessagingRegionsListResultIterator provides access to a complete listing of PremiumMessagingRegions values.

func NewPremiumMessagingRegionsListResultIterator

func NewPremiumMessagingRegionsListResultIterator(page PremiumMessagingRegionsListResultPage) PremiumMessagingRegionsListResultIterator

Creates a new instance of the PremiumMessagingRegionsListResultIterator type.

func (*PremiumMessagingRegionsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PremiumMessagingRegionsListResultIterator) NextWithContext

func (iter *PremiumMessagingRegionsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PremiumMessagingRegionsListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PremiumMessagingRegionsListResultIterator) Response

Response returns the raw server response from the last page request.

func (PremiumMessagingRegionsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PremiumMessagingRegionsListResultPage

type PremiumMessagingRegionsListResultPage struct {
	// contains filtered or unexported fields
}

PremiumMessagingRegionsListResultPage contains a page of PremiumMessagingRegions values.

func NewPremiumMessagingRegionsListResultPage

Creates a new instance of the PremiumMessagingRegionsListResultPage type.

func (*PremiumMessagingRegionsListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PremiumMessagingRegionsListResultPage) NextWithContext

func (page *PremiumMessagingRegionsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PremiumMessagingRegionsListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PremiumMessagingRegionsListResultPage) Response

Response returns the raw server response from the last page request.

func (PremiumMessagingRegionsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PremiumMessagingRegionsProperties

type PremiumMessagingRegionsProperties struct {
	// Code - READ-ONLY; Region code
	Code *string `json:"code,omitempty"`
	// FullName - READ-ONLY; Full name of the region
	FullName *string `json:"fullName,omitempty"`
}

PremiumMessagingRegionsProperties ...

type ProvisioningStateDR

type ProvisioningStateDR string

ProvisioningStateDR enumerates the values for provisioning state dr.

const (
	// Accepted ...
	Accepted ProvisioningStateDR = "Accepted"
	// Failed ...
	Failed ProvisioningStateDR = "Failed"
	// Succeeded ...
	Succeeded ProvisioningStateDR = "Succeeded"
)

func PossibleProvisioningStateDRValues

func PossibleProvisioningStateDRValues() []ProvisioningStateDR

PossibleProvisioningStateDRValues returns an array of possible values for the ProvisioningStateDR const type.

type QueuesClient

type QueuesClient struct {
	BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (QueuesClient) CreateOrUpdate

func (client QueuesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, parameters SBQueue) (result SBQueue, err error)

CreateOrUpdate creates or updates a Service Bus queue. This operation is idempotent. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name queueName - the queue name. parameters - parameters supplied to create or update a queue resource.

func (QueuesClient) CreateOrUpdateAuthorizationRule

func (client QueuesClient) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters SBAuthorizationRule) (result SBAuthorizationRule, err error)

CreateOrUpdateAuthorizationRule creates an authorization rule for a queue. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name queueName - the queue name. authorizationRuleName - the authorization rule name. parameters - the shared access authorization rule.

func (QueuesClient) CreateOrUpdateAuthorizationRulePreparer

func (client QueuesClient) CreateOrUpdateAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters SBAuthorizationRule) (*http.Request, error)

CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.

func (QueuesClient) CreateOrUpdateAuthorizationRuleResponder

func (client QueuesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SBAuthorizationRule, 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(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, parameters SBQueue) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (QueuesClient) CreateOrUpdateResponder

func (client QueuesClient) CreateOrUpdateResponder(resp *http.Response) (result SBQueue, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (QueuesClient) CreateOrUpdateSender

func (client QueuesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (QueuesClient) Delete

func (client QueuesClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, queueName string) (result autorest.Response, err error)

Delete deletes a queue from the specified namespace in a resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name queueName - the queue name.

func (QueuesClient) DeleteAuthorizationRule

func (client QueuesClient) DeleteAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (result autorest.Response, err error)

DeleteAuthorizationRule deletes a queue authorization rule. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name queueName - the queue name. authorizationRuleName - the authorization rule name.

func (QueuesClient) DeleteAuthorizationRulePreparer

func (client QueuesClient) DeleteAuthorizationRulePreparer(ctx context.Context, 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

func (client QueuesClient) 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 (QueuesClient) DeletePreparer

func (client QueuesClient) DeletePreparer(ctx context.Context, 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

func (client QueuesClient) DeleteSender(req *http.Request) (*http.Response, error)

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(ctx context.Context, resourceGroupName string, namespaceName string, queueName string) (result SBQueue, err error)

Get returns a description for the specified queue. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name queueName - the queue name.

func (QueuesClient) GetAuthorizationRule

func (client QueuesClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (result SBAuthorizationRule, err error)

GetAuthorizationRule gets an authorization rule for a queue by rule name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name queueName - the queue name. authorizationRuleName - the authorization rule name.

func (QueuesClient) GetAuthorizationRulePreparer

func (client QueuesClient) GetAuthorizationRulePreparer(ctx context.Context, 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 SBAuthorizationRule, err error)

GetAuthorizationRuleResponder handles the response to the GetAuthorizationRule request. The method always closes the http.Response Body.

func (QueuesClient) GetAuthorizationRuleSender

func (client QueuesClient) 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 (QueuesClient) GetPreparer

func (client QueuesClient) GetPreparer(ctx context.Context, 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 SBQueue, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (QueuesClient) GetSender

func (client QueuesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (QueuesClient) ListAuthorizationRules

func (client QueuesClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, queueName string) (result SBAuthorizationRuleListResultPage, err error)

ListAuthorizationRules gets all authorization rules for a queue. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name queueName - the queue name.

func (QueuesClient) ListAuthorizationRulesComplete

func (client QueuesClient) ListAuthorizationRulesComplete(ctx context.Context, resourceGroupName string, namespaceName string, queueName string) (result SBAuthorizationRuleListResultIterator, err error)

ListAuthorizationRulesComplete enumerates all values, automatically crossing page boundaries as required.

func (QueuesClient) ListAuthorizationRulesPreparer

func (client QueuesClient) ListAuthorizationRulesPreparer(ctx context.Context, 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 SBAuthorizationRuleListResult, err error)

ListAuthorizationRulesResponder handles the response to the ListAuthorizationRules request. The method always closes the http.Response Body.

func (QueuesClient) ListAuthorizationRulesSender

func (client QueuesClient) 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 (QueuesClient) ListByNamespace

func (client QueuesClient) ListByNamespace(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (result SBQueueListResultPage, err error)

ListByNamespace gets the queues within a namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name skip - skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls. top - may be used to limit the number of results to the most recent N usageDetails.

func (QueuesClient) ListByNamespaceComplete

func (client QueuesClient) ListByNamespaceComplete(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (result SBQueueListResultIterator, err error)

ListByNamespaceComplete enumerates all values, automatically crossing page boundaries as required.

func (QueuesClient) ListByNamespacePreparer

func (client QueuesClient) ListByNamespacePreparer(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (*http.Request, error)

ListByNamespacePreparer prepares the ListByNamespace request.

func (QueuesClient) ListByNamespaceResponder

func (client QueuesClient) ListByNamespaceResponder(resp *http.Response) (result SBQueueListResult, err error)

ListByNamespaceResponder handles the response to the ListByNamespace request. The method always closes the http.Response Body.

func (QueuesClient) ListByNamespaceSender

func (client QueuesClient) ListByNamespaceSender(req *http.Request) (*http.Response, error)

ListByNamespaceSender sends the ListByNamespace request. The method will close the http.Response Body if it receives an error.

func (QueuesClient) ListKeys

func (client QueuesClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (result AccessKeys, err error)

ListKeys primary and secondary connection strings to the queue. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name queueName - the queue name. authorizationRuleName - the authorization rule name.

func (QueuesClient) ListKeysPreparer

func (client QueuesClient) ListKeysPreparer(ctx context.Context, 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 AccessKeys, err error)

ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (QueuesClient) ListKeysSender

func (client QueuesClient) ListKeysSender(req *http.Request) (*http.Response, error)

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(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (result AccessKeys, err error)

RegenerateKeys regenerates the primary or secondary connection strings to the queue. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name queueName - the queue name. authorizationRuleName - the authorization rule name. parameters - parameters supplied to regenerate the authorization rule.

func (QueuesClient) RegenerateKeysPreparer

func (client QueuesClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (*http.Request, error)

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (QueuesClient) RegenerateKeysResponder

func (client QueuesClient) RegenerateKeysResponder(resp *http.Response) (result AccessKeys, err error)

RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.

func (QueuesClient) RegenerateKeysSender

func (client QueuesClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)

RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.

type RegenerateAccessKeyParameters

type RegenerateAccessKeyParameters struct {
	// KeyType - The access key to regenerate. Possible values include: 'PrimaryKey', 'SecondaryKey'
	KeyType KeyType `json:"keyType,omitempty"`
	// Key - Optional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType
	Key *string `json:"key,omitempty"`
}

RegenerateAccessKeyParameters parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset.

type RegionsClient

type RegionsClient struct {
	BaseClient
}

RegionsClient is the azure Service Bus client

func NewRegionsClient

func NewRegionsClient(subscriptionID string) RegionsClient

NewRegionsClient creates an instance of the RegionsClient client.

func NewRegionsClientWithBaseURI

func NewRegionsClientWithBaseURI(baseURI string, subscriptionID string) RegionsClient

NewRegionsClientWithBaseURI creates an instance of the RegionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RegionsClient) ListBySku

func (client RegionsClient) ListBySku(ctx context.Context, sku string) (result PremiumMessagingRegionsListResultPage, err error)

ListBySku gets the available Regions for a given sku Parameters: sku - the sku type.

func (RegionsClient) ListBySkuComplete

func (client RegionsClient) ListBySkuComplete(ctx context.Context, sku string) (result PremiumMessagingRegionsListResultIterator, err error)

ListBySkuComplete enumerates all values, automatically crossing page boundaries as required.

func (RegionsClient) ListBySkuPreparer

func (client RegionsClient) ListBySkuPreparer(ctx context.Context, sku string) (*http.Request, error)

ListBySkuPreparer prepares the ListBySku request.

func (RegionsClient) ListBySkuResponder

func (client RegionsClient) ListBySkuResponder(resp *http.Response) (result PremiumMessagingRegionsListResult, err error)

ListBySkuResponder handles the response to the ListBySku request. The method always closes the http.Response Body.

func (RegionsClient) ListBySkuSender

func (client RegionsClient) ListBySkuSender(req *http.Request) (*http.Response, error)

ListBySkuSender sends the ListBySku request. The method will close the http.Response Body if it receives an error.

type Resource

type Resource struct {
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Resource the Resource definition for other than namespace.

type ResourceNamespacePatch

type ResourceNamespacePatch struct {
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

ResourceNamespacePatch the Resource definition.

func (ResourceNamespacePatch) MarshalJSON

func (rnp ResourceNamespacePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceNamespacePatch.

type RoleDisasterRecovery

type RoleDisasterRecovery string

RoleDisasterRecovery enumerates the values for role disaster recovery.

const (
	// Primary ...
	Primary RoleDisasterRecovery = "Primary"
	// PrimaryNotReplicating ...
	PrimaryNotReplicating RoleDisasterRecovery = "PrimaryNotReplicating"
	// Secondary ...
	Secondary RoleDisasterRecovery = "Secondary"
)

func PossibleRoleDisasterRecoveryValues

func PossibleRoleDisasterRecoveryValues() []RoleDisasterRecovery

PossibleRoleDisasterRecoveryValues returns an array of possible values for the RoleDisasterRecovery const type.

type Rule

type Rule struct {
	autorest.Response `json:"-"`
	// Ruleproperties - Properties of Rule resource
	*Ruleproperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Rule description of Rule Resource.

func (Rule) MarshalJSON

func (r Rule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Rule.

func (*Rule) UnmarshalJSON

func (r *Rule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Rule struct.

type RuleListResult

type RuleListResult struct {
	autorest.Response `json:"-"`
	// Value - Result of the List Rules operation.
	Value *[]Rule `json:"value,omitempty"`
	// NextLink - Link to the next set of results. Not empty if Value contains incomplete list of rules
	NextLink *string `json:"nextLink,omitempty"`
}

RuleListResult the response of the List rule operation.

func (RuleListResult) IsEmpty

func (rlr RuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RuleListResultIterator

type RuleListResultIterator struct {
	// contains filtered or unexported fields
}

RuleListResultIterator provides access to a complete listing of Rule values.

func NewRuleListResultIterator

func NewRuleListResultIterator(page RuleListResultPage) RuleListResultIterator

Creates a new instance of the RuleListResultIterator type.

func (*RuleListResultIterator) Next

func (iter *RuleListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RuleListResultIterator) NextWithContext

func (iter *RuleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RuleListResultIterator) NotDone

func (iter RuleListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RuleListResultIterator) Response

func (iter RuleListResultIterator) Response() RuleListResult

Response returns the raw server response from the last page request.

func (RuleListResultIterator) Value

func (iter RuleListResultIterator) Value() Rule

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RuleListResultPage

type RuleListResultPage struct {
	// contains filtered or unexported fields
}

RuleListResultPage contains a page of Rule values.

func NewRuleListResultPage

func NewRuleListResultPage(getNextPage func(context.Context, RuleListResult) (RuleListResult, error)) RuleListResultPage

Creates a new instance of the RuleListResultPage type.

func (*RuleListResultPage) Next

func (page *RuleListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RuleListResultPage) NextWithContext

func (page *RuleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RuleListResultPage) NotDone

func (page RuleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RuleListResultPage) Response

func (page RuleListResultPage) Response() RuleListResult

Response returns the raw server response from the last page request.

func (RuleListResultPage) Values

func (page RuleListResultPage) Values() []Rule

Values returns the slice of values for the current page or nil if there are no values.

type Ruleproperties

type Ruleproperties struct {
	// Action - Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
	Action *Action `json:"action,omitempty"`
	// FilterType - Filter type that is evaluated against a BrokeredMessage. Possible values include: 'FilterTypeSQLFilter', 'FilterTypeCorrelationFilter'
	FilterType FilterType `json:"filterType,omitempty"`
	// SQLFilter - Properties of sqlFilter
	SQLFilter *SQLFilter `json:"sqlFilter,omitempty"`
	// CorrelationFilter - Properties of correlationFilter
	CorrelationFilter *CorrelationFilter `json:"correlationFilter,omitempty"`
}

Ruleproperties description of Rule Resource.

type RulesClient

type RulesClient struct {
	BaseClient
}

RulesClient is the azure Service Bus client

func NewRulesClient

func NewRulesClient(subscriptionID string) RulesClient

NewRulesClient creates an instance of the RulesClient client.

func NewRulesClientWithBaseURI

func NewRulesClientWithBaseURI(baseURI string, subscriptionID string) RulesClient

NewRulesClientWithBaseURI creates an instance of the RulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RulesClient) CreateOrUpdate

func (client RulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, ruleName string, parameters Rule) (result Rule, err error)

CreateOrUpdate creates a new rule and updates an existing rule Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. subscriptionName - the subscription name. ruleName - the rule name. parameters - parameters supplied to create a rule.

func (RulesClient) CreateOrUpdatePreparer

func (client RulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, ruleName string, parameters Rule) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RulesClient) CreateOrUpdateResponder

func (client RulesClient) CreateOrUpdateResponder(resp *http.Response) (result Rule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RulesClient) CreateOrUpdateSender

func (client RulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (RulesClient) Delete

func (client RulesClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, ruleName string) (result autorest.Response, err error)

Delete deletes an existing rule. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. subscriptionName - the subscription name. ruleName - the rule name.

func (RulesClient) DeletePreparer

func (client RulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, ruleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RulesClient) DeleteResponder

func (client RulesClient) 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 (RulesClient) DeleteSender

func (client RulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RulesClient) Get

func (client RulesClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, ruleName string) (result Rule, err error)

Get retrieves the description for the specified rule. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. subscriptionName - the subscription name. ruleName - the rule name.

func (RulesClient) GetPreparer

func (client RulesClient) GetPreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, ruleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RulesClient) GetResponder

func (client RulesClient) GetResponder(resp *http.Response) (result Rule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RulesClient) GetSender

func (client RulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RulesClient) ListBySubscriptions

func (client RulesClient) ListBySubscriptions(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, skip *int32, top *int32) (result RuleListResultPage, err error)

ListBySubscriptions list all the rules within given topic-subscription Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. subscriptionName - the subscription name. skip - skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls. top - may be used to limit the number of results to the most recent N usageDetails.

func (RulesClient) ListBySubscriptionsComplete

func (client RulesClient) ListBySubscriptionsComplete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, skip *int32, top *int32) (result RuleListResultIterator, err error)

ListBySubscriptionsComplete enumerates all values, automatically crossing page boundaries as required.

func (RulesClient) ListBySubscriptionsPreparer

func (client RulesClient) ListBySubscriptionsPreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, skip *int32, top *int32) (*http.Request, error)

ListBySubscriptionsPreparer prepares the ListBySubscriptions request.

func (RulesClient) ListBySubscriptionsResponder

func (client RulesClient) ListBySubscriptionsResponder(resp *http.Response) (result RuleListResult, err error)

ListBySubscriptionsResponder handles the response to the ListBySubscriptions request. The method always closes the http.Response Body.

func (RulesClient) ListBySubscriptionsSender

func (client RulesClient) ListBySubscriptionsSender(req *http.Request) (*http.Response, error)

ListBySubscriptionsSender sends the ListBySubscriptions request. The method will close the http.Response Body if it receives an error.

type SBAuthorizationRule

type SBAuthorizationRule struct {
	autorest.Response `json:"-"`
	// SBAuthorizationRuleProperties - AuthorizationRule properties.
	*SBAuthorizationRuleProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SBAuthorizationRule description of a namespace authorization rule.

func (SBAuthorizationRule) MarshalJSON

func (sar SBAuthorizationRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SBAuthorizationRule.

func (*SBAuthorizationRule) UnmarshalJSON

func (sar *SBAuthorizationRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SBAuthorizationRule struct.

type SBAuthorizationRuleListResult

type SBAuthorizationRuleListResult struct {
	autorest.Response `json:"-"`
	// Value - Result of the List Authorization Rules operation.
	Value *[]SBAuthorizationRule `json:"value,omitempty"`
	// NextLink - Link to the next set of results. Not empty if Value contains incomplete list of Authorization Rules.
	NextLink *string `json:"nextLink,omitempty"`
}

SBAuthorizationRuleListResult the response to the List Namespace operation.

func (SBAuthorizationRuleListResult) IsEmpty

func (sarlr SBAuthorizationRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBAuthorizationRuleListResultIterator

type SBAuthorizationRuleListResultIterator struct {
	// contains filtered or unexported fields
}

SBAuthorizationRuleListResultIterator provides access to a complete listing of SBAuthorizationRule values.

func NewSBAuthorizationRuleListResultIterator

func NewSBAuthorizationRuleListResultIterator(page SBAuthorizationRuleListResultPage) SBAuthorizationRuleListResultIterator

Creates a new instance of the SBAuthorizationRuleListResultIterator type.

func (*SBAuthorizationRuleListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SBAuthorizationRuleListResultIterator) NextWithContext

func (iter *SBAuthorizationRuleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SBAuthorizationRuleListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (SBAuthorizationRuleListResultIterator) Response

Response returns the raw server response from the last page request.

func (SBAuthorizationRuleListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SBAuthorizationRuleListResultPage

type SBAuthorizationRuleListResultPage struct {
	// contains filtered or unexported fields
}

SBAuthorizationRuleListResultPage contains a page of SBAuthorizationRule values.

func NewSBAuthorizationRuleListResultPage

Creates a new instance of the SBAuthorizationRuleListResultPage type.

func (*SBAuthorizationRuleListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SBAuthorizationRuleListResultPage) NextWithContext

func (page *SBAuthorizationRuleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SBAuthorizationRuleListResultPage) NotDone

func (page SBAuthorizationRuleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SBAuthorizationRuleListResultPage) Response

Response returns the raw server response from the last page request.

func (SBAuthorizationRuleListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SBAuthorizationRuleProperties

type SBAuthorizationRuleProperties struct {
	// Rights - The rights associated with the rule.
	Rights *[]AccessRights `json:"rights,omitempty"`
}

SBAuthorizationRuleProperties authorizationRule properties.

type SBNamespace

type SBNamespace struct {
	autorest.Response `json:"-"`
	// Sku - Properties of Sku
	Sku *SBSku `json:"sku,omitempty"`
	// SBNamespaceProperties - Properties of the namespace.
	*SBNamespaceProperties `json:"properties,omitempty"`
	// Location - The Geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SBNamespace description of a namespace resource.

func (SBNamespace) MarshalJSON

func (sn SBNamespace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SBNamespace.

func (*SBNamespace) UnmarshalJSON

func (sn *SBNamespace) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SBNamespace struct.

type SBNamespaceListResult

type SBNamespaceListResult struct {
	autorest.Response `json:"-"`
	// Value - Result of the List Namespace operation.
	Value *[]SBNamespace `json:"value,omitempty"`
	// NextLink - Link to the next set of results. Not empty if Value contains incomplete list of Namespaces.
	NextLink *string `json:"nextLink,omitempty"`
}

SBNamespaceListResult the response of the List Namespace operation.

func (SBNamespaceListResult) IsEmpty

func (snlr SBNamespaceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBNamespaceListResultIterator

type SBNamespaceListResultIterator struct {
	// contains filtered or unexported fields
}

SBNamespaceListResultIterator provides access to a complete listing of SBNamespace values.

func NewSBNamespaceListResultIterator

func NewSBNamespaceListResultIterator(page SBNamespaceListResultPage) SBNamespaceListResultIterator

Creates a new instance of the SBNamespaceListResultIterator type.

func (*SBNamespaceListResultIterator) Next

func (iter *SBNamespaceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SBNamespaceListResultIterator) NextWithContext

func (iter *SBNamespaceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SBNamespaceListResultIterator) NotDone

func (iter SBNamespaceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SBNamespaceListResultIterator) Response

Response returns the raw server response from the last page request.

func (SBNamespaceListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SBNamespaceListResultPage

type SBNamespaceListResultPage struct {
	// contains filtered or unexported fields
}

SBNamespaceListResultPage contains a page of SBNamespace values.

func NewSBNamespaceListResultPage

func NewSBNamespaceListResultPage(getNextPage func(context.Context, SBNamespaceListResult) (SBNamespaceListResult, error)) SBNamespaceListResultPage

Creates a new instance of the SBNamespaceListResultPage type.

func (*SBNamespaceListResultPage) Next

func (page *SBNamespaceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SBNamespaceListResultPage) NextWithContext

func (page *SBNamespaceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SBNamespaceListResultPage) NotDone

func (page SBNamespaceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SBNamespaceListResultPage) Response

Response returns the raw server response from the last page request.

func (SBNamespaceListResultPage) Values

func (page SBNamespaceListResultPage) Values() []SBNamespace

Values returns the slice of values for the current page or nil if there are no values.

type SBNamespaceMigrate

type SBNamespaceMigrate struct {
	// TargetNamespaceType - Type of namespaces. Possible values include: 'Messaging', 'NotificationHub', 'Mixed', 'EventHub', 'Relay'
	TargetNamespaceType NameSpaceType `json:"targetNamespaceType,omitempty"`
}

SBNamespaceMigrate namespace Migrate Object

type SBNamespaceProperties

type SBNamespaceProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning state of the namespace.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// CreatedAt - READ-ONLY; The time the namespace was created.
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// UpdatedAt - READ-ONLY; The time the namespace was updated.
	UpdatedAt *date.Time `json:"updatedAt,omitempty"`
	// ServiceBusEndpoint - READ-ONLY; Endpoint you can use to perform Service Bus operations.
	ServiceBusEndpoint *string `json:"serviceBusEndpoint,omitempty"`
	// MetricID - READ-ONLY; Identifier for Azure Insights metrics
	MetricID *string `json:"metricId,omitempty"`
}

SBNamespaceProperties properties of the namespace.

type SBNamespaceUpdateParameters

type SBNamespaceUpdateParameters struct {
	// Sku - Properties of Sku
	Sku *SBSku `json:"sku,omitempty"`
	// SBNamespaceProperties - Properties of the namespace.
	*SBNamespaceProperties `json:"properties,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SBNamespaceUpdateParameters description of a namespace resource.

func (SBNamespaceUpdateParameters) MarshalJSON

func (snup SBNamespaceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SBNamespaceUpdateParameters.

func (*SBNamespaceUpdateParameters) UnmarshalJSON

func (snup *SBNamespaceUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SBNamespaceUpdateParameters struct.

type SBQueue

type SBQueue struct {
	autorest.Response `json:"-"`
	// SBQueueProperties - Queue Properties
	*SBQueueProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SBQueue description of queue Resource.

func (SBQueue) MarshalJSON

func (sq SBQueue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SBQueue.

func (*SBQueue) UnmarshalJSON

func (sq *SBQueue) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SBQueue struct.

type SBQueueListResult

type SBQueueListResult struct {
	autorest.Response `json:"-"`
	// Value - Result of the List Queues operation.
	Value *[]SBQueue `json:"value,omitempty"`
	// NextLink - Link to the next set of results. Not empty if Value contains incomplete list of queues.
	NextLink *string `json:"nextLink,omitempty"`
}

SBQueueListResult the response to the List Queues operation.

func (SBQueueListResult) IsEmpty

func (sqlr SBQueueListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBQueueListResultIterator

type SBQueueListResultIterator struct {
	// contains filtered or unexported fields
}

SBQueueListResultIterator provides access to a complete listing of SBQueue values.

func NewSBQueueListResultIterator

func NewSBQueueListResultIterator(page SBQueueListResultPage) SBQueueListResultIterator

Creates a new instance of the SBQueueListResultIterator type.

func (*SBQueueListResultIterator) Next

func (iter *SBQueueListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SBQueueListResultIterator) NextWithContext

func (iter *SBQueueListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SBQueueListResultIterator) NotDone

func (iter SBQueueListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SBQueueListResultIterator) Response

Response returns the raw server response from the last page request.

func (SBQueueListResultIterator) Value

func (iter SBQueueListResultIterator) Value() SBQueue

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SBQueueListResultPage

type SBQueueListResultPage struct {
	// contains filtered or unexported fields
}

SBQueueListResultPage contains a page of SBQueue values.

func NewSBQueueListResultPage

func NewSBQueueListResultPage(getNextPage func(context.Context, SBQueueListResult) (SBQueueListResult, error)) SBQueueListResultPage

Creates a new instance of the SBQueueListResultPage type.

func (*SBQueueListResultPage) Next

func (page *SBQueueListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SBQueueListResultPage) NextWithContext

func (page *SBQueueListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SBQueueListResultPage) NotDone

func (page SBQueueListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SBQueueListResultPage) Response

func (page SBQueueListResultPage) Response() SBQueueListResult

Response returns the raw server response from the last page request.

func (SBQueueListResultPage) Values

func (page SBQueueListResultPage) Values() []SBQueue

Values returns the slice of values for the current page or nil if there are no values.

type SBQueueProperties

type SBQueueProperties struct {
	// CountDetails - READ-ONLY; Message Count Details.
	CountDetails *MessageCountDetails `json:"countDetails,omitempty"`
	// CreatedAt - READ-ONLY; The exact time the message was created.
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// UpdatedAt - READ-ONLY; The exact time the message was updated.
	UpdatedAt *date.Time `json:"updatedAt,omitempty"`
	// AccessedAt - READ-ONLY; Last time a message was sent, or the last time there was a receive request to this queue.
	AccessedAt *date.Time `json:"accessedAt,omitempty"`
	// SizeInBytes - READ-ONLY; The size of the queue, in bytes.
	SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
	// MessageCount - READ-ONLY; The number of messages in the queue.
	MessageCount *int64 `json:"messageCount,omitempty"`
	// LockDuration - ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
	LockDuration *string `json:"lockDuration,omitempty"`
	// MaxSizeInMegabytes - The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
	MaxSizeInMegabytes *int32 `json:"maxSizeInMegabytes,omitempty"`
	// RequiresDuplicateDetection - A value indicating if this queue requires duplicate detection.
	RequiresDuplicateDetection *bool `json:"requiresDuplicateDetection,omitempty"`
	// RequiresSession - A value that indicates whether the queue supports the concept of sessions.
	RequiresSession *bool `json:"requiresSession,omitempty"`
	// DefaultMessageTimeToLive - ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
	DefaultMessageTimeToLive *string `json:"defaultMessageTimeToLive,omitempty"`
	// DeadLetteringOnMessageExpiration - A value that indicates whether this queue has dead letter support when a message expires.
	DeadLetteringOnMessageExpiration *bool `json:"deadLetteringOnMessageExpiration,omitempty"`
	// DuplicateDetectionHistoryTimeWindow - ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
	DuplicateDetectionHistoryTimeWindow *string `json:"duplicateDetectionHistoryTimeWindow,omitempty"`
	// MaxDeliveryCount - The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
	MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"`
	// Status - Enumerates the possible values for the status of a messaging entity. Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown'
	Status EntityStatus `json:"status,omitempty"`
	// EnableBatchedOperations - Value that indicates whether server-side batched operations are enabled.
	EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty"`
	// AutoDeleteOnIdle - ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
	AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"`
	// EnablePartitioning - A value that indicates whether the queue is to be partitioned across multiple message brokers.
	EnablePartitioning *bool `json:"enablePartitioning,omitempty"`
	// EnableExpress - A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
	EnableExpress *bool `json:"enableExpress,omitempty"`
	// ForwardTo - Queue/Topic name to forward the messages
	ForwardTo *string `json:"forwardTo,omitempty"`
	// ForwardDeadLetteredMessagesTo - Queue/Topic name to forward the Dead Letter message
	ForwardDeadLetteredMessagesTo *string `json:"forwardDeadLetteredMessagesTo,omitempty"`
}

SBQueueProperties the Queue Properties definition.

type SBSku

type SBSku struct {
	// Name - Name of this SKU. Possible values include: 'Basic', 'Standard', 'Premium'
	Name SkuName `json:"name,omitempty"`
	// Tier - The billing tier of this particular SKU. Possible values include: 'SkuTierBasic', 'SkuTierStandard', 'SkuTierPremium'
	Tier SkuTier `json:"tier,omitempty"`
	// Capacity - The specified messaging units for the tier. For Premium tier, capacity are 1,2 and 4.
	Capacity *int32 `json:"capacity,omitempty"`
}

SBSku SKU of the namespace.

type SBSubscription

type SBSubscription struct {
	autorest.Response `json:"-"`
	// SBSubscriptionProperties - Properties of subscriptions resource.
	*SBSubscriptionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SBSubscription description of subscription resource.

func (SBSubscription) MarshalJSON

func (ss SBSubscription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SBSubscription.

func (*SBSubscription) UnmarshalJSON

func (ss *SBSubscription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SBSubscription struct.

type SBSubscriptionListResult

type SBSubscriptionListResult struct {
	autorest.Response `json:"-"`
	// Value - Result of the List Subscriptions operation.
	Value *[]SBSubscription `json:"value,omitempty"`
	// NextLink - Link to the next set of results. Not empty if Value contains incomplete list of subscriptions.
	NextLink *string `json:"nextLink,omitempty"`
}

SBSubscriptionListResult the response to the List Subscriptions operation.

func (SBSubscriptionListResult) IsEmpty

func (sslr SBSubscriptionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBSubscriptionListResultIterator

type SBSubscriptionListResultIterator struct {
	// contains filtered or unexported fields
}

SBSubscriptionListResultIterator provides access to a complete listing of SBSubscription values.

func NewSBSubscriptionListResultIterator

func NewSBSubscriptionListResultIterator(page SBSubscriptionListResultPage) SBSubscriptionListResultIterator

Creates a new instance of the SBSubscriptionListResultIterator type.

func (*SBSubscriptionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SBSubscriptionListResultIterator) NextWithContext

func (iter *SBSubscriptionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SBSubscriptionListResultIterator) NotDone

func (iter SBSubscriptionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SBSubscriptionListResultIterator) Response

Response returns the raw server response from the last page request.

func (SBSubscriptionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SBSubscriptionListResultPage

type SBSubscriptionListResultPage struct {
	// contains filtered or unexported fields
}

SBSubscriptionListResultPage contains a page of SBSubscription values.

func NewSBSubscriptionListResultPage

func NewSBSubscriptionListResultPage(getNextPage func(context.Context, SBSubscriptionListResult) (SBSubscriptionListResult, error)) SBSubscriptionListResultPage

Creates a new instance of the SBSubscriptionListResultPage type.

func (*SBSubscriptionListResultPage) Next

func (page *SBSubscriptionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SBSubscriptionListResultPage) NextWithContext

func (page *SBSubscriptionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SBSubscriptionListResultPage) NotDone

func (page SBSubscriptionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SBSubscriptionListResultPage) Response

Response returns the raw server response from the last page request.

func (SBSubscriptionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SBSubscriptionProperties

type SBSubscriptionProperties struct {
	// MessageCount - READ-ONLY; Number of messages.
	MessageCount *int64 `json:"messageCount,omitempty"`
	// CreatedAt - READ-ONLY; Exact time the message was created.
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// AccessedAt - READ-ONLY; Last time there was a receive request to this subscription.
	AccessedAt *date.Time `json:"accessedAt,omitempty"`
	// UpdatedAt - READ-ONLY; The exact time the message was updated.
	UpdatedAt *date.Time `json:"updatedAt,omitempty"`
	// CountDetails - READ-ONLY; Message count details
	CountDetails *MessageCountDetails `json:"countDetails,omitempty"`
	// LockDuration - ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.
	LockDuration *string `json:"lockDuration,omitempty"`
	// RequiresSession - Value indicating if a subscription supports the concept of sessions.
	RequiresSession *bool `json:"requiresSession,omitempty"`
	// DefaultMessageTimeToLive - ISO 8061 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
	DefaultMessageTimeToLive *string `json:"defaultMessageTimeToLive,omitempty"`
	// DeadLetteringOnFilterEvaluationExceptions - Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.
	DeadLetteringOnFilterEvaluationExceptions *bool `json:"deadLetteringOnFilterEvaluationExceptions,omitempty"`
	// DeadLetteringOnMessageExpiration - Value that indicates whether a subscription has dead letter support when a message expires.
	DeadLetteringOnMessageExpiration *bool `json:"deadLetteringOnMessageExpiration,omitempty"`
	// DuplicateDetectionHistoryTimeWindow - ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
	DuplicateDetectionHistoryTimeWindow *string `json:"duplicateDetectionHistoryTimeWindow,omitempty"`
	// MaxDeliveryCount - Number of maximum deliveries.
	MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"`
	// Status - Enumerates the possible values for the status of a messaging entity. Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown'
	Status EntityStatus `json:"status,omitempty"`
	// EnableBatchedOperations - Value that indicates whether server-side batched operations are enabled.
	EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty"`
	// AutoDeleteOnIdle - ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
	AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"`
	// ForwardTo - Queue/Topic name to forward the messages
	ForwardTo *string `json:"forwardTo,omitempty"`
	// ForwardDeadLetteredMessagesTo - Queue/Topic name to forward the Dead Letter message
	ForwardDeadLetteredMessagesTo *string `json:"forwardDeadLetteredMessagesTo,omitempty"`
}

SBSubscriptionProperties description of Subscription Resource.

type SBTopic

type SBTopic struct {
	autorest.Response `json:"-"`
	// SBTopicProperties - Properties of topic resource.
	*SBTopicProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SBTopic description of topic resource.

func (SBTopic) MarshalJSON

func (st SBTopic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SBTopic.

func (*SBTopic) UnmarshalJSON

func (st *SBTopic) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SBTopic struct.

type SBTopicListResult

type SBTopicListResult struct {
	autorest.Response `json:"-"`
	// Value - Result of the List Topics operation.
	Value *[]SBTopic `json:"value,omitempty"`
	// NextLink - Link to the next set of results. Not empty if Value contains incomplete list of topics.
	NextLink *string `json:"nextLink,omitempty"`
}

SBTopicListResult the response to the List Topics operation.

func (SBTopicListResult) IsEmpty

func (stlr SBTopicListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBTopicListResultIterator

type SBTopicListResultIterator struct {
	// contains filtered or unexported fields
}

SBTopicListResultIterator provides access to a complete listing of SBTopic values.

func NewSBTopicListResultIterator

func NewSBTopicListResultIterator(page SBTopicListResultPage) SBTopicListResultIterator

Creates a new instance of the SBTopicListResultIterator type.

func (*SBTopicListResultIterator) Next

func (iter *SBTopicListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SBTopicListResultIterator) NextWithContext

func (iter *SBTopicListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SBTopicListResultIterator) NotDone

func (iter SBTopicListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SBTopicListResultIterator) Response

Response returns the raw server response from the last page request.

func (SBTopicListResultIterator) Value

func (iter SBTopicListResultIterator) Value() SBTopic

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SBTopicListResultPage

type SBTopicListResultPage struct {
	// contains filtered or unexported fields
}

SBTopicListResultPage contains a page of SBTopic values.

func NewSBTopicListResultPage

func NewSBTopicListResultPage(getNextPage func(context.Context, SBTopicListResult) (SBTopicListResult, error)) SBTopicListResultPage

Creates a new instance of the SBTopicListResultPage type.

func (*SBTopicListResultPage) Next

func (page *SBTopicListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SBTopicListResultPage) NextWithContext

func (page *SBTopicListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SBTopicListResultPage) NotDone

func (page SBTopicListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SBTopicListResultPage) Response

func (page SBTopicListResultPage) Response() SBTopicListResult

Response returns the raw server response from the last page request.

func (SBTopicListResultPage) Values

func (page SBTopicListResultPage) Values() []SBTopic

Values returns the slice of values for the current page or nil if there are no values.

type SBTopicProperties

type SBTopicProperties struct {
	// SizeInBytes - READ-ONLY; Size of the topic, in bytes.
	SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
	// CreatedAt - READ-ONLY; Exact time the message was created.
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// UpdatedAt - READ-ONLY; The exact time the message was updated.
	UpdatedAt *date.Time `json:"updatedAt,omitempty"`
	// AccessedAt - READ-ONLY; Last time the message was sent, or a request was received, for this topic.
	AccessedAt *date.Time `json:"accessedAt,omitempty"`
	// SubscriptionCount - READ-ONLY; Number of subscriptions.
	SubscriptionCount *int32 `json:"subscriptionCount,omitempty"`
	// CountDetails - READ-ONLY; Message count details
	CountDetails *MessageCountDetails `json:"countDetails,omitempty"`
	// DefaultMessageTimeToLive - ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
	DefaultMessageTimeToLive *string `json:"defaultMessageTimeToLive,omitempty"`
	// MaxSizeInMegabytes - Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.
	MaxSizeInMegabytes *int32 `json:"maxSizeInMegabytes,omitempty"`
	// RequiresDuplicateDetection - Value indicating if this topic requires duplicate detection.
	RequiresDuplicateDetection *bool `json:"requiresDuplicateDetection,omitempty"`
	// DuplicateDetectionHistoryTimeWindow - ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
	DuplicateDetectionHistoryTimeWindow *string `json:"duplicateDetectionHistoryTimeWindow,omitempty"`
	// EnableBatchedOperations - Value that indicates whether server-side batched operations are enabled.
	EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty"`
	// Status - Enumerates the possible values for the status of a messaging entity. Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown'
	Status EntityStatus `json:"status,omitempty"`
	// SupportOrdering - Value that indicates whether the topic supports ordering.
	SupportOrdering *bool `json:"supportOrdering,omitempty"`
	// AutoDeleteOnIdle - ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
	AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty"`
	// EnablePartitioning - Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.
	EnablePartitioning *bool `json:"enablePartitioning,omitempty"`
	// EnableExpress - Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
	EnableExpress *bool `json:"enableExpress,omitempty"`
}

SBTopicProperties the Topic Properties definition.

type SQLFilter

type SQLFilter struct {
	// SQLExpression - The SQL expression. e.g. MyProperty='ABC'
	SQLExpression *string `json:"sqlExpression,omitempty"`
	// CompatibilityLevel - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
	CompatibilityLevel *int32 `json:"compatibilityLevel,omitempty"`
	// RequiresPreprocessing - Value that indicates whether the rule action requires preprocessing.
	RequiresPreprocessing *bool `json:"requiresPreprocessing,omitempty"`
}

SQLFilter represents a filter which is a composition of an expression and an action that is executed in the pub/sub pipeline.

type SQLRuleAction

type SQLRuleAction struct {
	// SQLExpression - SQL expression. e.g. MyProperty='ABC'
	SQLExpression *string `json:"sqlExpression,omitempty"`
	// CompatibilityLevel - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
	CompatibilityLevel *int32 `json:"compatibilityLevel,omitempty"`
	// RequiresPreprocessing - Value that indicates whether the rule action requires preprocessing.
	RequiresPreprocessing *bool `json:"requiresPreprocessing,omitempty"`
}

SQLRuleAction represents set of actions written in SQL language-based syntax that is performed against a ServiceBus.Messaging.BrokeredMessage

type SkuName

type SkuName string

SkuName enumerates the values for sku name.

const (
	// Basic ...
	Basic SkuName = "Basic"
	// Premium ...
	Premium SkuName = "Premium"
	// Standard ...
	Standard SkuName = "Standard"
)

func PossibleSkuNameValues

func PossibleSkuNameValues() []SkuName

PossibleSkuNameValues returns an array of possible values for the SkuName const type.

type SkuTier

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
	// SkuTierBasic ...
	SkuTierBasic SkuTier = "Basic"
	// SkuTierPremium ...
	SkuTierPremium SkuTier = "Premium"
	// SkuTierStandard ...
	SkuTierStandard SkuTier = "Standard"
)

func PossibleSkuTierValues

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type Subnet

type Subnet struct {
	// ID - Resource ID of Virtual Network Subnet
	ID *string `json:"id,omitempty"`
}

Subnet properties supplied for Subnet

type SubscriptionsClient

type SubscriptionsClient struct {
	BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SubscriptionsClient) CreateOrUpdate

func (client SubscriptionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, parameters SBSubscription) (result SBSubscription, err error)

CreateOrUpdate creates a topic subscription. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. subscriptionName - the subscription name. parameters - parameters supplied to create a subscription resource.

func (SubscriptionsClient) CreateOrUpdatePreparer

func (client SubscriptionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, parameters SBSubscription) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SubscriptionsClient) CreateOrUpdateResponder

func (client SubscriptionsClient) CreateOrUpdateResponder(resp *http.Response) (result SBSubscription, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SubscriptionsClient) CreateOrUpdateSender

func (client SubscriptionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SubscriptionsClient) Delete

func (client SubscriptionsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (result autorest.Response, err error)

Delete deletes a subscription from the specified topic. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. subscriptionName - the subscription name.

func (SubscriptionsClient) DeletePreparer

func (client SubscriptionsClient) DeletePreparer(ctx context.Context, 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

func (client SubscriptionsClient) DeleteSender(req *http.Request) (*http.Response, error)

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(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (result SBSubscription, err error)

Get returns a subscription description for the specified topic. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. subscriptionName - the subscription name.

func (SubscriptionsClient) GetPreparer

func (client SubscriptionsClient) GetPreparer(ctx context.Context, 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 SBSubscription, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SubscriptionsClient) GetSender

func (client SubscriptionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SubscriptionsClient) ListByTopic

func (client SubscriptionsClient) ListByTopic(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, skip *int32, top *int32) (result SBSubscriptionListResultPage, err error)

ListByTopic list all the subscriptions under a specified topic. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. skip - skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls. top - may be used to limit the number of results to the most recent N usageDetails.

func (SubscriptionsClient) ListByTopicComplete

func (client SubscriptionsClient) ListByTopicComplete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, skip *int32, top *int32) (result SBSubscriptionListResultIterator, err error)

ListByTopicComplete enumerates all values, automatically crossing page boundaries as required.

func (SubscriptionsClient) ListByTopicPreparer

func (client SubscriptionsClient) ListByTopicPreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, skip *int32, top *int32) (*http.Request, error)

ListByTopicPreparer prepares the ListByTopic request.

func (SubscriptionsClient) ListByTopicResponder

func (client SubscriptionsClient) ListByTopicResponder(resp *http.Response) (result SBSubscriptionListResult, err error)

ListByTopicResponder handles the response to the ListByTopic request. The method always closes the http.Response Body.

func (SubscriptionsClient) ListByTopicSender

func (client SubscriptionsClient) ListByTopicSender(req *http.Request) (*http.Response, error)

ListByTopicSender sends the ListByTopic request. The method will close the http.Response Body if it receives an error.

type TopicsClient

type TopicsClient struct {
	BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (TopicsClient) CreateOrUpdate

func (client TopicsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, parameters SBTopic) (result SBTopic, err error)

CreateOrUpdate creates a topic in the specified namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. parameters - parameters supplied to create a topic resource.

func (TopicsClient) CreateOrUpdateAuthorizationRule

func (client TopicsClient) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters SBAuthorizationRule) (result SBAuthorizationRule, err error)

CreateOrUpdateAuthorizationRule creates an authorization rule for the specified topic. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. authorizationRuleName - the authorization rule name. parameters - the shared access authorization rule.

func (TopicsClient) CreateOrUpdateAuthorizationRulePreparer

func (client TopicsClient) CreateOrUpdateAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters SBAuthorizationRule) (*http.Request, error)

CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.

func (TopicsClient) CreateOrUpdateAuthorizationRuleResponder

func (client TopicsClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SBAuthorizationRule, 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(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, parameters SBTopic) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (TopicsClient) CreateOrUpdateResponder

func (client TopicsClient) CreateOrUpdateResponder(resp *http.Response) (result SBTopic, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (TopicsClient) CreateOrUpdateSender

func (client TopicsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (TopicsClient) Delete

func (client TopicsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string) (result autorest.Response, err error)

Delete deletes a topic from the specified namespace and resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name.

func (TopicsClient) DeleteAuthorizationRule

func (client TopicsClient) DeleteAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (result autorest.Response, err error)

DeleteAuthorizationRule deletes a topic authorization rule. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. authorizationRuleName - the authorization rule name.

func (TopicsClient) DeleteAuthorizationRulePreparer

func (client TopicsClient) DeleteAuthorizationRulePreparer(ctx context.Context, 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

func (client TopicsClient) 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 (TopicsClient) DeletePreparer

func (client TopicsClient) DeletePreparer(ctx context.Context, 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

func (client TopicsClient) DeleteSender(req *http.Request) (*http.Response, error)

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(ctx context.Context, resourceGroupName string, namespaceName string, topicName string) (result SBTopic, err error)

Get returns a description for the specified topic. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name.

func (TopicsClient) GetAuthorizationRule

func (client TopicsClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (result SBAuthorizationRule, err error)

GetAuthorizationRule returns the specified authorization rule. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. authorizationRuleName - the authorization rule name.

func (TopicsClient) GetAuthorizationRulePreparer

func (client TopicsClient) GetAuthorizationRulePreparer(ctx context.Context, 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 SBAuthorizationRule, err error)

GetAuthorizationRuleResponder handles the response to the GetAuthorizationRule request. The method always closes the http.Response Body.

func (TopicsClient) GetAuthorizationRuleSender

func (client TopicsClient) 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 (TopicsClient) GetPreparer

func (client TopicsClient) GetPreparer(ctx context.Context, 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 SBTopic, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (TopicsClient) GetSender

func (client TopicsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (TopicsClient) ListAuthorizationRules

func (client TopicsClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, topicName string) (result SBAuthorizationRuleListResultPage, err error)

ListAuthorizationRules gets authorization rules for a topic. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name.

func (TopicsClient) ListAuthorizationRulesComplete

func (client TopicsClient) ListAuthorizationRulesComplete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string) (result SBAuthorizationRuleListResultIterator, err error)

ListAuthorizationRulesComplete enumerates all values, automatically crossing page boundaries as required.

func (TopicsClient) ListAuthorizationRulesPreparer

func (client TopicsClient) ListAuthorizationRulesPreparer(ctx context.Context, 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 SBAuthorizationRuleListResult, err error)

ListAuthorizationRulesResponder handles the response to the ListAuthorizationRules request. The method always closes the http.Response Body.

func (TopicsClient) ListAuthorizationRulesSender

func (client TopicsClient) 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 (TopicsClient) ListByNamespace

func (client TopicsClient) ListByNamespace(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (result SBTopicListResultPage, err error)

ListByNamespace gets all the topics in a namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name skip - skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls. top - may be used to limit the number of results to the most recent N usageDetails.

func (TopicsClient) ListByNamespaceComplete

func (client TopicsClient) ListByNamespaceComplete(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (result SBTopicListResultIterator, err error)

ListByNamespaceComplete enumerates all values, automatically crossing page boundaries as required.

func (TopicsClient) ListByNamespacePreparer

func (client TopicsClient) ListByNamespacePreparer(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (*http.Request, error)

ListByNamespacePreparer prepares the ListByNamespace request.

func (TopicsClient) ListByNamespaceResponder

func (client TopicsClient) ListByNamespaceResponder(resp *http.Response) (result SBTopicListResult, err error)

ListByNamespaceResponder handles the response to the ListByNamespace request. The method always closes the http.Response Body.

func (TopicsClient) ListByNamespaceSender

func (client TopicsClient) ListByNamespaceSender(req *http.Request) (*http.Response, error)

ListByNamespaceSender sends the ListByNamespace request. The method will close the http.Response Body if it receives an error.

func (TopicsClient) ListKeys

func (client TopicsClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (result AccessKeys, err error)

ListKeys gets the primary and secondary connection strings for the topic. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. authorizationRuleName - the authorization rule name.

func (TopicsClient) ListKeysPreparer

func (client TopicsClient) ListKeysPreparer(ctx context.Context, 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 AccessKeys, err error)

ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (TopicsClient) ListKeysSender

func (client TopicsClient) ListKeysSender(req *http.Request) (*http.Response, error)

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(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (result AccessKeys, err error)

RegenerateKeys regenerates primary or secondary connection strings for the topic. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name topicName - the topic name. authorizationRuleName - the authorization rule name. parameters - parameters supplied to regenerate the authorization rule.

func (TopicsClient) RegenerateKeysPreparer

func (client TopicsClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (*http.Request, error)

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (TopicsClient) RegenerateKeysResponder

func (client TopicsClient) RegenerateKeysResponder(resp *http.Response) (result AccessKeys, err error)

RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.

func (TopicsClient) RegenerateKeysSender

func (client TopicsClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)

RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.

type TrackedResource

type TrackedResource struct {
	// Location - The Geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

TrackedResource the Resource definition.

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type UnavailableReason

type UnavailableReason string

UnavailableReason enumerates the values for unavailable reason.

const (
	// InvalidName ...
	InvalidName UnavailableReason = "InvalidName"
	// NameInLockdown ...
	NameInLockdown UnavailableReason = "NameInLockdown"
	// NameInUse ...
	NameInUse UnavailableReason = "NameInUse"
	// None ...
	None UnavailableReason = "None"
	// SubscriptionIsDisabled ...
	SubscriptionIsDisabled UnavailableReason = "SubscriptionIsDisabled"
	// TooManyNamespaceInCurrentSubscription ...
	TooManyNamespaceInCurrentSubscription UnavailableReason = "TooManyNamespaceInCurrentSubscription"
)

func PossibleUnavailableReasonValues

func PossibleUnavailableReasonValues() []UnavailableReason

PossibleUnavailableReasonValues returns an array of possible values for the UnavailableReason const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL