azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus Index | Files | Directories

package servicebus

import "github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus"

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

Azure Service Bus client

Index

Package Files

client.go disasterrecoveryconfigs.go eventhubs.go migrationconfigs.go models.go namespaces.go operations.go premiummessagingregions.go queues.go regions.go rules.go subscriptions.go topics.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Servicebus
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type AccessKeys Uses

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 Uses

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 Uses

func PossibleAccessRightsValues() []AccessRights

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

type Action Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for ArmDisasterRecovery.

func (*ArmDisasterRecovery) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ArmDisasterRecovery struct.

type ArmDisasterRecoveryListResult Uses

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 Uses

func (adrlr ArmDisasterRecoveryListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ArmDisasterRecoveryListResultIterator Uses

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

ArmDisasterRecoveryListResultIterator provides access to a complete listing of ArmDisasterRecovery values.

func NewArmDisasterRecoveryListResultIterator Uses

func NewArmDisasterRecoveryListResultIterator(page ArmDisasterRecoveryListResultPage) ArmDisasterRecoveryListResultIterator

Creates a new instance of the ArmDisasterRecoveryListResultIterator type.

func (*ArmDisasterRecoveryListResultIterator) Next Uses

func (iter *ArmDisasterRecoveryListResultIterator) 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 (*ArmDisasterRecoveryListResultIterator) NextWithContext Uses

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 Uses

func (iter ArmDisasterRecoveryListResultIterator) NotDone() bool

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

func (ArmDisasterRecoveryListResultIterator) Response Uses

func (iter ArmDisasterRecoveryListResultIterator) Response() ArmDisasterRecoveryListResult

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

func (ArmDisasterRecoveryListResultIterator) Value Uses

func (iter ArmDisasterRecoveryListResultIterator) Value() ArmDisasterRecovery

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

type ArmDisasterRecoveryListResultPage Uses

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

ArmDisasterRecoveryListResultPage contains a page of ArmDisasterRecovery values.

func NewArmDisasterRecoveryListResultPage Uses

func NewArmDisasterRecoveryListResultPage(getNextPage func(context.Context, ArmDisasterRecoveryListResult) (ArmDisasterRecoveryListResult, error)) ArmDisasterRecoveryListResultPage

Creates a new instance of the ArmDisasterRecoveryListResultPage type.

func (*ArmDisasterRecoveryListResultPage) Next Uses

func (page *ArmDisasterRecoveryListResultPage) 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 (*ArmDisasterRecoveryListResultPage) NextWithContext Uses

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 Uses

func (page ArmDisasterRecoveryListResultPage) NotDone() bool

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

func (ArmDisasterRecoveryListResultPage) Response Uses

func (page ArmDisasterRecoveryListResultPage) Response() ArmDisasterRecoveryListResult

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

func (ArmDisasterRecoveryListResultPage) Values Uses

func (page ArmDisasterRecoveryListResultPage) Values() []ArmDisasterRecovery

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

type ArmDisasterRecoveryProperties Uses

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 Uses

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

AuthorizationRuleProperties authorizationRule properties.

type BaseClient Uses

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

BaseClient is the base client for Servicebus.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CaptureDescription Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for CorrelationFilter.

type DefaultAction Uses

type DefaultAction string

DefaultAction enumerates the values for default action.

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

func PossibleDefaultActionValues Uses

func PossibleDefaultActionValues() []DefaultAction

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

type Destination Uses

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 Uses

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

MarshalJSON is the custom marshaler for Destination.

func (*Destination) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Destination struct.

type DestinationProperties Uses

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 Uses

type DisasterRecoveryConfigsClient struct {
    BaseClient
}

DisasterRecoveryConfigsClient is the azure Service Bus client

func NewDisasterRecoveryConfigsClient Uses

func NewDisasterRecoveryConfigsClient(subscriptionID string) DisasterRecoveryConfigsClient

NewDisasterRecoveryConfigsClient creates an instance of the DisasterRecoveryConfigsClient client.

func NewDisasterRecoveryConfigsClientWithBaseURI Uses

func NewDisasterRecoveryConfigsClientWithBaseURI(baseURI string, subscriptionID string) DisasterRecoveryConfigsClient

NewDisasterRecoveryConfigsClientWithBaseURI creates an instance of the DisasterRecoveryConfigsClient client.

func (DisasterRecoveryConfigsClient) BreakPairing Uses

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 Uses

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

BreakPairingPreparer prepares the BreakPairing request.

func (DisasterRecoveryConfigsClient) BreakPairingResponder Uses

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 Uses

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 Uses

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 Uses

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

CheckNameAvailabilityMethodPreparer prepares the CheckNameAvailabilityMethod request.

func (DisasterRecoveryConfigsClient) CheckNameAvailabilityMethodResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (DisasterRecoveryConfigsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

FailOverPreparer prepares the FailOver request.

func (DisasterRecoveryConfigsClient) FailOverResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (DisasterRecoveryConfigsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.

func (DisasterRecoveryConfigsClient) ListAuthorizationRulesResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (DisasterRecoveryConfigsClient) ListResponder Uses

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 Uses

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 Uses

type EncodingCaptureDescription string

EncodingCaptureDescription enumerates the values for encoding capture description.

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

func PossibleEncodingCaptureDescriptionValues Uses

func PossibleEncodingCaptureDescriptionValues() []EncodingCaptureDescription

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

type EntityStatus Uses

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 Uses

func PossibleEntityStatusValues() []EntityStatus

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

type ErrorResponse Uses

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 Uses

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 Uses

func (ehlr EventHubListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EventHubListResultIterator Uses

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

EventHubListResultIterator provides access to a complete listing of Eventhub values.

func NewEventHubListResultIterator Uses

func NewEventHubListResultIterator(page EventHubListResultPage) EventHubListResultIterator

Creates a new instance of the EventHubListResultIterator type.

func (*EventHubListResultIterator) Next Uses

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 Uses

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 Uses

func (iter EventHubListResultIterator) NotDone() bool

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

func (EventHubListResultIterator) Response Uses

func (iter EventHubListResultIterator) Response() EventHubListResult

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

func (EventHubListResultIterator) Value Uses

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 Uses

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

EventHubListResultPage contains a page of Eventhub values.

func NewEventHubListResultPage Uses

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

Creates a new instance of the EventHubListResultPage type.

func (*EventHubListResultPage) Next Uses

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 Uses

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 Uses

func (page EventHubListResultPage) NotDone() bool

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

func (EventHubListResultPage) Response Uses

func (page EventHubListResultPage) Response() EventHubListResult

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

func (EventHubListResultPage) Values Uses

func (page EventHubListResultPage) Values() []Eventhub

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

type EventHubsClient Uses

type EventHubsClient struct {
    BaseClient
}

EventHubsClient is the azure Service Bus client

func NewEventHubsClient Uses

func NewEventHubsClient(subscriptionID string) EventHubsClient

NewEventHubsClient creates an instance of the EventHubsClient client.

func NewEventHubsClientWithBaseURI Uses

func NewEventHubsClientWithBaseURI(baseURI string, subscriptionID string) EventHubsClient

NewEventHubsClientWithBaseURI creates an instance of the EventHubsClient client.

func (EventHubsClient) ListByNamespace Uses

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 Uses

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 Uses

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

ListByNamespacePreparer prepares the ListByNamespace request.

func (EventHubsClient) ListByNamespaceResponder Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for Eventhub.

func (*Eventhub) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Eventhub struct.

type EventhubProperties Uses

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 Uses

type FilterType string

FilterType enumerates the values for filter type.

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

func PossibleFilterTypeValues Uses

func PossibleFilterTypeValues() []FilterType

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

type IPAction Uses

type IPAction string

IPAction enumerates the values for ip action.

const (
    // Accept ...
    Accept IPAction = "Accept"
    // Reject ...
    Reject IPAction = "Reject"
)

func PossibleIPActionValues Uses

func PossibleIPActionValues() []IPAction

PossibleIPActionValues returns an array of possible values for the IPAction const type.

type IPFilterRule Uses

type IPFilterRule struct {
    autorest.Response `json:"-"`
    // IPFilterRuleProperties - Properties supplied to create or update IpFilterRules
    *IPFilterRuleProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource name
    Name *string `json:"name,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
}

IPFilterRule single item in a List or Get IpFilterRules operation

func (IPFilterRule) MarshalJSON Uses

func (ifr IPFilterRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IPFilterRule.

func (*IPFilterRule) UnmarshalJSON Uses

func (ifr *IPFilterRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IPFilterRule struct.

type IPFilterRuleListResult Uses

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

IPFilterRuleListResult the response from the List namespace operation.

func (IPFilterRuleListResult) IsEmpty Uses

func (ifrlr IPFilterRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type IPFilterRuleListResultIterator Uses

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

IPFilterRuleListResultIterator provides access to a complete listing of IPFilterRule values.

func (*IPFilterRuleListResultIterator) Next Uses

func (iter *IPFilterRuleListResultIterator) 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.

func (IPFilterRuleListResultIterator) NotDone Uses

func (iter IPFilterRuleListResultIterator) NotDone() bool

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

func (IPFilterRuleListResultIterator) Response Uses

func (iter IPFilterRuleListResultIterator) Response() IPFilterRuleListResult

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

func (IPFilterRuleListResultIterator) Value Uses

func (iter IPFilterRuleListResultIterator) Value() IPFilterRule

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

type IPFilterRuleListResultPage Uses

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

IPFilterRuleListResultPage contains a page of IPFilterRule values.

func (*IPFilterRuleListResultPage) Next Uses

func (page *IPFilterRuleListResultPage) 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.

func (IPFilterRuleListResultPage) NotDone Uses

func (page IPFilterRuleListResultPage) NotDone() bool

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

func (IPFilterRuleListResultPage) Response Uses

func (page IPFilterRuleListResultPage) Response() IPFilterRuleListResult

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

func (IPFilterRuleListResultPage) Values Uses

func (page IPFilterRuleListResultPage) Values() []IPFilterRule

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

type IPFilterRuleProperties Uses

type IPFilterRuleProperties struct {
    // IPMask - IP Mask
    IPMask *string `json:"ipMask,omitempty"`
    // Action - The IP Filter Action. Possible values include: 'Accept', 'Reject'
    Action IPAction `json:"action,omitempty"`
    // FilterName - IP Filter name
    FilterName *string `json:"filterName,omitempty"`
}

IPFilterRuleProperties properties supplied to create or update IpFilterRules

type KeyType Uses

type KeyType string

KeyType enumerates the values for key type.

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

func PossibleKeyTypeValues Uses

func PossibleKeyTypeValues() []KeyType

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

type MessageCountDetails Uses

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 Uses

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 Uses

func (mclr MigrationConfigListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MigrationConfigListResultIterator Uses

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

MigrationConfigListResultIterator provides access to a complete listing of MigrationConfigProperties values.

func NewMigrationConfigListResultIterator Uses

func NewMigrationConfigListResultIterator(page MigrationConfigListResultPage) MigrationConfigListResultIterator

Creates a new instance of the MigrationConfigListResultIterator type.

func (*MigrationConfigListResultIterator) Next Uses

func (iter *MigrationConfigListResultIterator) 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 (*MigrationConfigListResultIterator) NextWithContext Uses

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 Uses

func (iter MigrationConfigListResultIterator) NotDone() bool

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

func (MigrationConfigListResultIterator) Response Uses

func (iter MigrationConfigListResultIterator) Response() MigrationConfigListResult

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

func (MigrationConfigListResultIterator) Value Uses

func (iter MigrationConfigListResultIterator) Value() MigrationConfigProperties

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

type MigrationConfigListResultPage Uses

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

MigrationConfigListResultPage contains a page of MigrationConfigProperties values.

func NewMigrationConfigListResultPage Uses

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

Creates a new instance of the MigrationConfigListResultPage type.

func (*MigrationConfigListResultPage) Next Uses

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 Uses

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 Uses

func (page MigrationConfigListResultPage) NotDone() bool

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

func (MigrationConfigListResultPage) Response Uses

func (page MigrationConfigListResultPage) Response() MigrationConfigListResult

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

func (MigrationConfigListResultPage) Values Uses

func (page MigrationConfigListResultPage) Values() []MigrationConfigProperties

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

type MigrationConfigProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for MigrationConfigProperties.

func (*MigrationConfigProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for MigrationConfigProperties struct.

type MigrationConfigPropertiesProperties Uses

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 Uses

type MigrationConfigsClient struct {
    BaseClient
}

MigrationConfigsClient is the azure Service Bus client

func NewMigrationConfigsClient Uses

func NewMigrationConfigsClient(subscriptionID string) MigrationConfigsClient

NewMigrationConfigsClient creates an instance of the MigrationConfigsClient client.

func NewMigrationConfigsClientWithBaseURI Uses

func NewMigrationConfigsClientWithBaseURI(baseURI string, subscriptionID string) MigrationConfigsClient

NewMigrationConfigsClientWithBaseURI creates an instance of the MigrationConfigsClient client.

func (MigrationConfigsClient) CompleteMigration Uses

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 Uses

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

CompleteMigrationPreparer prepares the CompleteMigration request.

func (MigrationConfigsClient) CompleteMigrationResponder Uses

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 Uses

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 Uses

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 Uses

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

CreateAndStartMigrationPreparer prepares the CreateAndStartMigration request.

func (MigrationConfigsClient) CreateAndStartMigrationResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (MigrationConfigsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (MigrationConfigsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (MigrationConfigsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

RevertPreparer prepares the Revert request.

func (MigrationConfigsClient) RevertResponder Uses

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 Uses

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 Uses

type MigrationConfigsCreateAndStartMigrationFuture struct {
    azure.Future
}

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

func (*MigrationConfigsCreateAndStartMigrationFuture) Result Uses

func (future *MigrationConfigsCreateAndStartMigrationFuture) Result(client MigrationConfigsClient) (mcp MigrationConfigProperties, err error)

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

type NWRuleSetIPRules Uses

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 Uses

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 Uses

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 Uses

func PossibleNameSpaceTypeValues() []NameSpaceType

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

type NamespacesClient Uses

type NamespacesClient struct {
    BaseClient
}

NamespacesClient is the azure Service Bus client

func NewNamespacesClient Uses

func NewNamespacesClient(subscriptionID string) NamespacesClient

NewNamespacesClient creates an instance of the NamespacesClient client.

func NewNamespacesClientWithBaseURI Uses

func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient

NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client.

func (NamespacesClient) CheckNameAvailabilityMethod Uses

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 Uses

func (client NamespacesClient) CheckNameAvailabilityMethodPreparer(ctx context.Context, parameters CheckNameAvailability) (*http.Request, error)

CheckNameAvailabilityMethodPreparer prepares the CheckNameAvailabilityMethod request.

func (NamespacesClient) CheckNameAvailabilityMethodResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

CreateOrUpdateNetworkRuleSetPreparer prepares the CreateOrUpdateNetworkRuleSet request.

func (NamespacesClient) CreateOrUpdateNetworkRuleSetResponder Uses

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 Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (NamespacesClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeleteAuthorizationRulePreparer prepares the DeleteAuthorizationRule request.

func (NamespacesClient) DeleteAuthorizationRuleResponder Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (NamespacesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetAuthorizationRulePreparer prepares the GetAuthorizationRule request.

func (NamespacesClient) GetAuthorizationRuleResponder Uses

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 Uses

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 Uses

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 Uses

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

GetNetworkRuleSetPreparer prepares the GetNetworkRuleSet request.

func (NamespacesClient) GetNetworkRuleSetResponder Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (NamespacesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.

func (NamespacesClient) ListAuthorizationRulesResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (NamespacesClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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

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

func (NamespacesClient) ListKeys Uses

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 Uses

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

ListKeysPreparer prepares the ListKeys request.

func (NamespacesClient) ListKeysResponder Uses

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 Uses

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) ListPreparer Uses

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

ListPreparer prepares the List request.

func (NamespacesClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

MigratePreparer prepares the Migrate request.

func (NamespacesClient) MigrateResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (NamespacesClient) UpdateResponder Uses

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 Uses

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 Uses

type NamespacesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*NamespacesCreateOrUpdateFuture) Result Uses

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 Uses

type NamespacesDeleteFuture struct {
    azure.Future
}

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

func (*NamespacesDeleteFuture) Result Uses

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 Uses

type NetworkRuleIPAction string

NetworkRuleIPAction enumerates the values for network rule ip action.

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

func PossibleNetworkRuleIPActionValues Uses

func PossibleNetworkRuleIPActionValues() []NetworkRuleIPAction

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

type NetworkRuleSet Uses

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 Uses

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

MarshalJSON is the custom marshaler for NetworkRuleSet.

func (*NetworkRuleSet) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for NetworkRuleSet struct.

type NetworkRuleSetProperties Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

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 Uses

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 Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

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 Uses

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 Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the azure Service Bus client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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

List lists all of the available ServiceBus REST API operations.

func (OperationsClient) ListComplete Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for PremiumMessagingRegions.

type PremiumMessagingRegionsClient Uses

type PremiumMessagingRegionsClient struct {
    BaseClient
}

PremiumMessagingRegionsClient is the azure Service Bus client

func NewPremiumMessagingRegionsClient Uses

func NewPremiumMessagingRegionsClient(subscriptionID string) PremiumMessagingRegionsClient

NewPremiumMessagingRegionsClient creates an instance of the PremiumMessagingRegionsClient client.

func NewPremiumMessagingRegionsClientWithBaseURI Uses

func NewPremiumMessagingRegionsClientWithBaseURI(baseURI string, subscriptionID string) PremiumMessagingRegionsClient

NewPremiumMessagingRegionsClientWithBaseURI creates an instance of the PremiumMessagingRegionsClient client.

func (PremiumMessagingRegionsClient) List Uses

func (client PremiumMessagingRegionsClient) List(ctx context.Context) (result PremiumMessagingRegionsListResultPage, err error)

List gets the available premium messaging regions for servicebus

func (PremiumMessagingRegionsClient) ListComplete Uses

func (client PremiumMessagingRegionsClient) ListComplete(ctx context.Context) (result PremiumMessagingRegionsListResultIterator, err error)

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

func (PremiumMessagingRegionsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (PremiumMessagingRegionsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

func (pmrlr PremiumMessagingRegionsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PremiumMessagingRegionsListResultIterator Uses

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

PremiumMessagingRegionsListResultIterator provides access to a complete listing of PremiumMessagingRegions values.

func NewPremiumMessagingRegionsListResultIterator Uses

func NewPremiumMessagingRegionsListResultIterator(page PremiumMessagingRegionsListResultPage) PremiumMessagingRegionsListResultIterator

Creates a new instance of the PremiumMessagingRegionsListResultIterator type.

func (*PremiumMessagingRegionsListResultIterator) Next Uses

func (iter *PremiumMessagingRegionsListResultIterator) 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 (*PremiumMessagingRegionsListResultIterator) NextWithContext Uses

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 Uses

func (iter PremiumMessagingRegionsListResultIterator) NotDone() bool

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

func (PremiumMessagingRegionsListResultIterator) Response Uses

func (iter PremiumMessagingRegionsListResultIterator) Response() PremiumMessagingRegionsListResult

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

func (PremiumMessagingRegionsListResultIterator) Value Uses

func (iter PremiumMessagingRegionsListResultIterator) Value() PremiumMessagingRegions

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

type PremiumMessagingRegionsListResultPage Uses

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

PremiumMessagingRegionsListResultPage contains a page of PremiumMessagingRegions values.

func NewPremiumMessagingRegionsListResultPage Uses

func NewPremiumMessagingRegionsListResultPage(getNextPage func(context.Context, PremiumMessagingRegionsListResult) (PremiumMessagingRegionsListResult, error)) PremiumMessagingRegionsListResultPage

Creates a new instance of the PremiumMessagingRegionsListResultPage type.

func (*PremiumMessagingRegionsListResultPage) Next Uses

func (page *PremiumMessagingRegionsListResultPage) 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 (*PremiumMessagingRegionsListResultPage) NextWithContext Uses

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 Uses

func (page PremiumMessagingRegionsListResultPage) NotDone() bool

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

func (PremiumMessagingRegionsListResultPage) Response Uses

func (page PremiumMessagingRegionsListResultPage) Response() PremiumMessagingRegionsListResult

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

func (PremiumMessagingRegionsListResultPage) Values Uses

func (page PremiumMessagingRegionsListResultPage) Values() []PremiumMessagingRegions

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

type PremiumMessagingRegionsProperties Uses

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 Uses

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 Uses

func PossibleProvisioningStateDRValues() []ProvisioningStateDR

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

type QueuesClient Uses

type QueuesClient struct {
    BaseClient
}

QueuesClient is the azure Service Bus client

func NewQueuesClient Uses

func NewQueuesClient(subscriptionID string) QueuesClient

NewQueuesClient creates an instance of the QueuesClient client.

func NewQueuesClientWithBaseURI Uses

func NewQueuesClientWithBaseURI(baseURI string, subscriptionID string) QueuesClient

NewQueuesClientWithBaseURI creates an instance of the QueuesClient client.

func (QueuesClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (QueuesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (QueuesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.

func (QueuesClient) ListAuthorizationRulesResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type RegionsClient struct {
    BaseClient
}

RegionsClient is the azure Service Bus client

func NewRegionsClient Uses

func NewRegionsClient(subscriptionID string) RegionsClient

NewRegionsClient creates an instance of the RegionsClient client.

func NewRegionsClientWithBaseURI Uses

func NewRegionsClientWithBaseURI(baseURI string, subscriptionID string) RegionsClient

NewRegionsClientWithBaseURI creates an instance of the RegionsClient client.

func (RegionsClient) ListBySku Uses

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 Uses

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 Uses

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

ListBySkuPreparer prepares the ListBySku request.

func (RegionsClient) ListBySkuResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for ResourceNamespacePatch.

type RoleDisasterRecovery Uses

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 Uses

func PossibleRoleDisasterRecoveryValues() []RoleDisasterRecovery

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

type Rule Uses

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 Uses

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

MarshalJSON is the custom marshaler for Rule.

func (*Rule) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Rule struct.

type RuleListResult Uses

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 Uses

func (rlr RuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RuleListResultIterator Uses

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

RuleListResultIterator provides access to a complete listing of Rule values.

func NewRuleListResultIterator Uses

func NewRuleListResultIterator(page RuleListResultPage) RuleListResultIterator

Creates a new instance of the RuleListResultIterator type.

func (*RuleListResultIterator) Next Uses

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 Uses

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 Uses

func (iter RuleListResultIterator) NotDone() bool

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

func (RuleListResultIterator) Response Uses

func (iter RuleListResultIterator) Response() RuleListResult

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

func (RuleListResultIterator) Value Uses

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 Uses

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

RuleListResultPage contains a page of Rule values.

func NewRuleListResultPage Uses

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

Creates a new instance of the RuleListResultPage type.

func (*RuleListResultPage) Next Uses

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 Uses

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 Uses

func (page RuleListResultPage) NotDone() bool

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

func (RuleListResultPage) Response Uses

func (page RuleListResultPage) Response() RuleListResult

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

func (RuleListResultPage) Values Uses

func (page RuleListResultPage) Values() []Rule

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

type Ruleproperties Uses

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 Uses

type RulesClient struct {
    BaseClient
}

RulesClient is the azure Service Bus client

func NewRulesClient Uses

func NewRulesClient(subscriptionID string) RulesClient

NewRulesClient creates an instance of the RulesClient client.

func NewRulesClientWithBaseURI Uses

func NewRulesClientWithBaseURI(baseURI string, subscriptionID string) RulesClient

NewRulesClientWithBaseURI creates an instance of the RulesClient client.

func (RulesClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for SBAuthorizationRule.

func (*SBAuthorizationRule) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SBAuthorizationRule struct.

type SBAuthorizationRuleListResult Uses

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 Uses

func (sarlr SBAuthorizationRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBAuthorizationRuleListResultIterator Uses

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

SBAuthorizationRuleListResultIterator provides access to a complete listing of SBAuthorizationRule values.

func NewSBAuthorizationRuleListResultIterator Uses

func NewSBAuthorizationRuleListResultIterator(page SBAuthorizationRuleListResultPage) SBAuthorizationRuleListResultIterator

Creates a new instance of the SBAuthorizationRuleListResultIterator type.

func (*SBAuthorizationRuleListResultIterator) Next Uses

func (iter *SBAuthorizationRuleListResultIterator) 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 (*SBAuthorizationRuleListResultIterator) NextWithContext Uses

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 Uses

func (iter SBAuthorizationRuleListResultIterator) NotDone() bool

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

func (SBAuthorizationRuleListResultIterator) Response Uses

func (iter SBAuthorizationRuleListResultIterator) Response() SBAuthorizationRuleListResult

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

func (SBAuthorizationRuleListResultIterator) Value Uses

func (iter SBAuthorizationRuleListResultIterator) Value() SBAuthorizationRule

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

type SBAuthorizationRuleListResultPage Uses

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

SBAuthorizationRuleListResultPage contains a page of SBAuthorizationRule values.

func NewSBAuthorizationRuleListResultPage Uses

func NewSBAuthorizationRuleListResultPage(getNextPage func(context.Context, SBAuthorizationRuleListResult) (SBAuthorizationRuleListResult, error)) SBAuthorizationRuleListResultPage

Creates a new instance of the SBAuthorizationRuleListResultPage type.

func (*SBAuthorizationRuleListResultPage) Next Uses

func (page *SBAuthorizationRuleListResultPage) 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 (*SBAuthorizationRuleListResultPage) NextWithContext Uses

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 Uses

func (page SBAuthorizationRuleListResultPage) NotDone() bool

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

func (SBAuthorizationRuleListResultPage) Response Uses

func (page SBAuthorizationRuleListResultPage) Response() SBAuthorizationRuleListResult

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

func (SBAuthorizationRuleListResultPage) Values Uses

func (page SBAuthorizationRuleListResultPage) Values() []SBAuthorizationRule

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

type SBAuthorizationRuleProperties Uses

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

SBAuthorizationRuleProperties authorizationRule properties.

type SBNamespace Uses

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 Uses

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

MarshalJSON is the custom marshaler for SBNamespace.

func (*SBNamespace) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SBNamespace struct.

type SBNamespaceListResult Uses

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 Uses

func (snlr SBNamespaceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBNamespaceListResultIterator Uses

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

SBNamespaceListResultIterator provides access to a complete listing of SBNamespace values.

func NewSBNamespaceListResultIterator Uses

func NewSBNamespaceListResultIterator(page SBNamespaceListResultPage) SBNamespaceListResultIterator

Creates a new instance of the SBNamespaceListResultIterator type.

func (*SBNamespaceListResultIterator) Next Uses

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 Uses

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 Uses

func (iter SBNamespaceListResultIterator) NotDone() bool

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

func (SBNamespaceListResultIterator) Response Uses

func (iter SBNamespaceListResultIterator) Response() SBNamespaceListResult

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

func (SBNamespaceListResultIterator) Value Uses

func (iter SBNamespaceListResultIterator) Value() SBNamespace

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

type SBNamespaceListResultPage Uses

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

SBNamespaceListResultPage contains a page of SBNamespace values.

func NewSBNamespaceListResultPage Uses

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

Creates a new instance of the SBNamespaceListResultPage type.

func (*SBNamespaceListResultPage) Next Uses

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 Uses

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 Uses

func (page SBNamespaceListResultPage) NotDone() bool

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

func (SBNamespaceListResultPage) Response Uses

func (page SBNamespaceListResultPage) Response() SBNamespaceListResult

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

func (SBNamespaceListResultPage) Values Uses

func (page SBNamespaceListResultPage) Values() []SBNamespace

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

type SBNamespaceMigrate Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for SBNamespaceUpdateParameters.

func (*SBNamespaceUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SBNamespaceUpdateParameters struct.

type SBQueue Uses

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 Uses

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

MarshalJSON is the custom marshaler for SBQueue.

func (*SBQueue) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SBQueue struct.

type SBQueueListResult Uses

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 Uses

func (sqlr SBQueueListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBQueueListResultIterator Uses

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

SBQueueListResultIterator provides access to a complete listing of SBQueue values.

func NewSBQueueListResultIterator Uses

func NewSBQueueListResultIterator(page SBQueueListResultPage) SBQueueListResultIterator

Creates a new instance of the SBQueueListResultIterator type.

func (*SBQueueListResultIterator) Next Uses

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 Uses

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 Uses

func (iter SBQueueListResultIterator) NotDone() bool

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

func (SBQueueListResultIterator) Response Uses

func (iter SBQueueListResultIterator) Response() SBQueueListResult

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

func (SBQueueListResultIterator) Value Uses

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 Uses

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

SBQueueListResultPage contains a page of SBQueue values.

func NewSBQueueListResultPage Uses

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

Creates a new instance of the SBQueueListResultPage type.

func (*SBQueueListResultPage) Next Uses

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 Uses

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 Uses

func (page SBQueueListResultPage) NotDone() bool

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

func (SBQueueListResultPage) Response Uses

func (page SBQueueListResultPage) Response() SBQueueListResult

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

func (SBQueueListResultPage) Values Uses

func (page SBQueueListResultPage) Values() []SBQueue

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

type SBQueueProperties Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for SBSubscription.

func (*SBSubscription) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SBSubscription struct.

type SBSubscriptionListResult Uses

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 Uses

func (sslr SBSubscriptionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBSubscriptionListResultIterator Uses

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

SBSubscriptionListResultIterator provides access to a complete listing of SBSubscription values.

func NewSBSubscriptionListResultIterator Uses

func NewSBSubscriptionListResultIterator(page SBSubscriptionListResultPage) SBSubscriptionListResultIterator

Creates a new instance of the SBSubscriptionListResultIterator type.

func (*SBSubscriptionListResultIterator) Next Uses

func (iter *SBSubscriptionListResultIterator) 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 (*SBSubscriptionListResultIterator) NextWithContext Uses

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 Uses

func (iter SBSubscriptionListResultIterator) NotDone() bool

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

func (SBSubscriptionListResultIterator) Response Uses

func (iter SBSubscriptionListResultIterator) Response() SBSubscriptionListResult

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

func (SBSubscriptionListResultIterator) Value Uses

func (iter SBSubscriptionListResultIterator) Value() SBSubscription

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

type SBSubscriptionListResultPage Uses

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

SBSubscriptionListResultPage contains a page of SBSubscription values.

func NewSBSubscriptionListResultPage Uses

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

Creates a new instance of the SBSubscriptionListResultPage type.

func (*SBSubscriptionListResultPage) Next Uses

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 Uses

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 Uses

func (page SBSubscriptionListResultPage) NotDone() bool

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

func (SBSubscriptionListResultPage) Response Uses

func (page SBSubscriptionListResultPage) Response() SBSubscriptionListResult

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

func (SBSubscriptionListResultPage) Values Uses

func (page SBSubscriptionListResultPage) Values() []SBSubscription

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

type SBSubscriptionProperties Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for SBTopic.

func (*SBTopic) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SBTopic struct.

type SBTopicListResult Uses

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 Uses

func (stlr SBTopicListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBTopicListResultIterator Uses

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

SBTopicListResultIterator provides access to a complete listing of SBTopic values.

func NewSBTopicListResultIterator Uses

func NewSBTopicListResultIterator(page SBTopicListResultPage) SBTopicListResultIterator

Creates a new instance of the SBTopicListResultIterator type.

func (*SBTopicListResultIterator) Next Uses

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 Uses

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 Uses

func (iter SBTopicListResultIterator) NotDone() bool

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

func (SBTopicListResultIterator) Response Uses

func (iter SBTopicListResultIterator) Response() SBTopicListResult

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

func (SBTopicListResultIterator) Value Uses

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 Uses

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

SBTopicListResultPage contains a page of SBTopic values.

func NewSBTopicListResultPage Uses

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

Creates a new instance of the SBTopicListResultPage type.

func (*SBTopicListResultPage) Next Uses

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 Uses

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 Uses

func (page SBTopicListResultPage) NotDone() bool

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

func (SBTopicListResultPage) Response Uses

func (page SBTopicListResultPage) Response() SBTopicListResult

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

func (SBTopicListResultPage) Values Uses

func (page SBTopicListResultPage) Values() []SBTopic

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

type SBTopicProperties Uses

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 Uses

type SQLFilter struct {
    // SQLExpression - The SQL expression. e.g. MyProperty='ABC'
    SQLExpression *string `json:"sqlExpression,omitempty"`
    // CompatibilityLevel - READ-ONLY; 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 Uses

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 Uses

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 Uses

func PossibleSkuNameValues() []SkuName

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

type SkuTier Uses

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 Uses

func PossibleSkuTierValues() []SkuTier

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

type Subnet Uses

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

Subnet properties supplied for Subnet

type SubscriptionsClient Uses

type SubscriptionsClient struct {
    BaseClient
}

SubscriptionsClient is the azure Service Bus client

func NewSubscriptionsClient Uses

func NewSubscriptionsClient(subscriptionID string) SubscriptionsClient

NewSubscriptionsClient creates an instance of the SubscriptionsClient client.

func NewSubscriptionsClientWithBaseURI Uses

func NewSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionsClient

NewSubscriptionsClientWithBaseURI creates an instance of the SubscriptionsClient client.

func (SubscriptionsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type TopicsClient struct {
    BaseClient
}

TopicsClient is the azure Service Bus client

func NewTopicsClient Uses

func NewTopicsClient(subscriptionID string) TopicsClient

NewTopicsClient creates an instance of the TopicsClient client.

func NewTopicsClientWithBaseURI Uses

func NewTopicsClientWithBaseURI(baseURI string, subscriptionID string) TopicsClient

NewTopicsClientWithBaseURI creates an instance of the TopicsClient client.

func (TopicsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (TopicsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (TopicsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.

func (TopicsClient) ListAuthorizationRulesResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

type UnavailableReason Uses

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 Uses

func PossibleUnavailableReasonValues() []UnavailableReason

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

type VirtualNetworkRule Uses

type VirtualNetworkRule struct {
    autorest.Response `json:"-"`
    // VirtualNetworkRuleProperties - Properties supplied to create or update VirtualNetworkRules
    *VirtualNetworkRuleProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - Resource name
    Name *string `json:"name,omitempty"`
    // Type - Resource type
    Type *string `json:"type,omitempty"`
}

VirtualNetworkRule single item in a List or Get VirtualNetworkRules operation

func (VirtualNetworkRule) MarshalJSON Uses

func (vnr VirtualNetworkRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkRule.

func (*VirtualNetworkRule) UnmarshalJSON Uses

func (vnr *VirtualNetworkRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkRule struct.

type VirtualNetworkRuleListResult Uses

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

VirtualNetworkRuleListResult the response from the List namespace operation.

func (VirtualNetworkRuleListResult) IsEmpty Uses

func (vnrlr VirtualNetworkRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkRuleListResultIterator Uses

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

VirtualNetworkRuleListResultIterator provides access to a complete listing of VirtualNetworkRule values.

func (*VirtualNetworkRuleListResultIterator) Next Uses

func (iter *VirtualNetworkRuleListResultIterator) 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.

func (VirtualNetworkRuleListResultIterator) NotDone Uses

func (iter VirtualNetworkRuleListResultIterator) NotDone() bool

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

func (VirtualNetworkRuleListResultIterator) Response Uses

func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult

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

func (VirtualNetworkRuleListResultIterator) Value Uses

func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule

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

type VirtualNetworkRuleListResultPage Uses

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

VirtualNetworkRuleListResultPage contains a page of VirtualNetworkRule values.

func (*VirtualNetworkRuleListResultPage) Next Uses

func (page *VirtualNetworkRuleListResultPage) 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.

func (VirtualNetworkRuleListResultPage) NotDone Uses

func (page VirtualNetworkRuleListResultPage) NotDone() bool

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

func (VirtualNetworkRuleListResultPage) Response Uses

func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult

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

func (VirtualNetworkRuleListResultPage) Values Uses

func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule

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

type VirtualNetworkRuleProperties Uses

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

VirtualNetworkRuleProperties properties supplied to create or update VirtualNetworkRules

Directories

PathSynopsis
servicebusapi

Package servicebus imports 10 packages (graph) and is imported by 9 packages. Updated 2019-08-09. Refresh now. Tools for package owners.