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

package eventhub

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

Package eventhub implements the Azure ARM Eventhub service API version 2017-04-01.

Azure Event Hubs client

Index

Package Files

client.go consumergroups.go disasterrecoveryconfigs.go eventhubs.go models.go namespaces.go operations.go regions.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Eventhub
    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 AuthorizationRule.
    PrimaryConnectionString *string `json:"primaryConnectionString,omitempty"`
    // SecondaryConnectionString - READ-ONLY; Secondary connection string of the created namespace AuthorizationRule.
    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 AuthorizationRule.
    KeyName *string `json:"keyName,omitempty"`
}

AccessKeys namespace/EventHub 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 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"`
    // PartnerNamespace - ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
    PartnerNamespace *string `json:"partnerNamespace,omitempty"`
    // AlternateName - Alternate name specified when alias and namespace names are same.
    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"`
    // PendingReplicationOperationsCount - READ-ONLY; Number of entities pending to be replicated.
    PendingReplicationOperationsCount *int64 `json:"pendingReplicationOperationsCount,omitempty"`
}

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

type AuthorizationRule Uses

type AuthorizationRule struct {
    autorest.Response `json:"-"`
    // AuthorizationRuleProperties - Properties supplied to create or update AuthorizationRule
    *AuthorizationRuleProperties `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"`
}

AuthorizationRule single item in a List or Get AuthorizationRule operation

func (AuthorizationRule) MarshalJSON Uses

func (ar AuthorizationRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AuthorizationRule.

func (*AuthorizationRule) UnmarshalJSON Uses

func (ar *AuthorizationRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AuthorizationRule struct.

type AuthorizationRuleListResult Uses

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

AuthorizationRuleListResult the response from the List namespace operation.

func (AuthorizationRuleListResult) IsEmpty Uses

func (arlr AuthorizationRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AuthorizationRuleListResultIterator Uses

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

AuthorizationRuleListResultIterator provides access to a complete listing of AuthorizationRule values.

func NewAuthorizationRuleListResultIterator Uses

func NewAuthorizationRuleListResultIterator(page AuthorizationRuleListResultPage) AuthorizationRuleListResultIterator

Creates a new instance of the AuthorizationRuleListResultIterator type.

func (*AuthorizationRuleListResultIterator) Next Uses

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

func (iter *AuthorizationRuleListResultIterator) 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 (AuthorizationRuleListResultIterator) NotDone Uses

func (iter AuthorizationRuleListResultIterator) NotDone() bool

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

func (AuthorizationRuleListResultIterator) Response Uses

func (iter AuthorizationRuleListResultIterator) Response() AuthorizationRuleListResult

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

func (AuthorizationRuleListResultIterator) Value Uses

func (iter AuthorizationRuleListResultIterator) Value() AuthorizationRule

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

type AuthorizationRuleListResultPage Uses

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

AuthorizationRuleListResultPage contains a page of AuthorizationRule values.

func NewAuthorizationRuleListResultPage Uses

func NewAuthorizationRuleListResultPage(getNextPage func(context.Context, AuthorizationRuleListResult) (AuthorizationRuleListResult, error)) AuthorizationRuleListResultPage

Creates a new instance of the AuthorizationRuleListResultPage type.

func (*AuthorizationRuleListResultPage) Next Uses

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

func (page *AuthorizationRuleListResultPage) 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 (AuthorizationRuleListResultPage) NotDone Uses

func (page AuthorizationRuleListResultPage) NotDone() bool

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

func (AuthorizationRuleListResultPage) Response Uses

func (page AuthorizationRuleListResultPage) Response() AuthorizationRuleListResult

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

func (AuthorizationRuleListResultPage) Values Uses

func (page AuthorizationRuleListResultPage) Values() []AuthorizationRule

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

type AuthorizationRuleProperties Uses

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

AuthorizationRuleProperties properties supplied to create or update AuthorizationRule

type BaseClient Uses

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

BaseClient is the base client for Eventhub.

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. Note: 'AvroDeflate' will be deprecated in New API Version. 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 to 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"`
    // SkipEmptyArchives - A value that indicates whether to Skip Empty Archives
    SkipEmptyArchives *bool `json:"skipEmptyArchives,omitempty"`
}

CaptureDescription properties to configure capture description for eventhub

type CheckNameAvailabilityParameter Uses

type CheckNameAvailabilityParameter struct {
    // Name - Name to check the namespace name availability
    Name *string `json:"name,omitempty"`
}

CheckNameAvailabilityParameter parameter supplied to check Namespace name availability operation

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 the Result of the CheckNameAvailability operation

type ConsumerGroup Uses

type ConsumerGroup struct {
    autorest.Response `json:"-"`
    // ConsumerGroupProperties - Single item in List or Get Consumer group operation
    *ConsumerGroupProperties `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"`
}

ConsumerGroup single item in List or Get Consumer group operation

func (ConsumerGroup) MarshalJSON Uses

func (cg ConsumerGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConsumerGroup.

func (*ConsumerGroup) UnmarshalJSON Uses

func (cg *ConsumerGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConsumerGroup struct.

type ConsumerGroupListResult Uses

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

ConsumerGroupListResult the result to the List Consumer Group operation.

func (ConsumerGroupListResult) IsEmpty Uses

func (cglr ConsumerGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConsumerGroupListResultIterator Uses

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

ConsumerGroupListResultIterator provides access to a complete listing of ConsumerGroup values.

func NewConsumerGroupListResultIterator Uses

func NewConsumerGroupListResultIterator(page ConsumerGroupListResultPage) ConsumerGroupListResultIterator

Creates a new instance of the ConsumerGroupListResultIterator type.

func (*ConsumerGroupListResultIterator) Next Uses

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

func (iter *ConsumerGroupListResultIterator) 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 (ConsumerGroupListResultIterator) NotDone Uses

func (iter ConsumerGroupListResultIterator) NotDone() bool

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

func (ConsumerGroupListResultIterator) Response Uses

func (iter ConsumerGroupListResultIterator) Response() ConsumerGroupListResult

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

func (ConsumerGroupListResultIterator) Value Uses

func (iter ConsumerGroupListResultIterator) Value() ConsumerGroup

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

type ConsumerGroupListResultPage Uses

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

ConsumerGroupListResultPage contains a page of ConsumerGroup values.

func NewConsumerGroupListResultPage Uses

func NewConsumerGroupListResultPage(getNextPage func(context.Context, ConsumerGroupListResult) (ConsumerGroupListResult, error)) ConsumerGroupListResultPage

Creates a new instance of the ConsumerGroupListResultPage type.

func (*ConsumerGroupListResultPage) Next Uses

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

func (page *ConsumerGroupListResultPage) 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 (ConsumerGroupListResultPage) NotDone Uses

func (page ConsumerGroupListResultPage) NotDone() bool

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

func (ConsumerGroupListResultPage) Response Uses

func (page ConsumerGroupListResultPage) Response() ConsumerGroupListResult

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

func (ConsumerGroupListResultPage) Values Uses

func (page ConsumerGroupListResultPage) Values() []ConsumerGroup

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

type ConsumerGroupProperties Uses

type ConsumerGroupProperties struct {
    // 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"`
    // UserMetadata - User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.
    UserMetadata *string `json:"userMetadata,omitempty"`
}

ConsumerGroupProperties single item in List or Get Consumer group operation

type ConsumerGroupsClient Uses

type ConsumerGroupsClient struct {
    BaseClient
}

ConsumerGroupsClient is the azure Event Hubs client

func NewConsumerGroupsClient Uses

func NewConsumerGroupsClient(subscriptionID string) ConsumerGroupsClient

NewConsumerGroupsClient creates an instance of the ConsumerGroupsClient client.

func NewConsumerGroupsClientWithBaseURI Uses

func NewConsumerGroupsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerGroupsClient

NewConsumerGroupsClientWithBaseURI creates an instance of the ConsumerGroupsClient client.

func (ConsumerGroupsClient) CreateOrUpdate Uses

func (client ConsumerGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, consumerGroupName string, parameters ConsumerGroup) (result ConsumerGroup, err error)

CreateOrUpdate creates or updates an Event Hubs consumer group as a nested resource within a Namespace. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name consumerGroupName - the consumer group name parameters - parameters supplied to create or update a consumer group resource.

func (ConsumerGroupsClient) CreateOrUpdatePreparer Uses

func (client ConsumerGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, consumerGroupName string, parameters ConsumerGroup) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConsumerGroupsClient) CreateOrUpdateResponder Uses

func (client ConsumerGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ConsumerGroup, err error)

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

func (ConsumerGroupsClient) CreateOrUpdateSender Uses

func (client ConsumerGroupsClient) 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 (ConsumerGroupsClient) Delete Uses

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

Delete deletes a consumer group from the specified Event Hub and resource group. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name consumerGroupName - the consumer group name

func (ConsumerGroupsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ConsumerGroupsClient) DeleteResponder Uses

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

func (client ConsumerGroupsClient) 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 (ConsumerGroupsClient) Get Uses

func (client ConsumerGroupsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, consumerGroupName string) (result ConsumerGroup, err error)

Get gets a description for the specified consumer group. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name consumerGroupName - the consumer group name

func (ConsumerGroupsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ConsumerGroupsClient) GetResponder Uses

func (client ConsumerGroupsClient) GetResponder(resp *http.Response) (result ConsumerGroup, err error)

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

func (ConsumerGroupsClient) GetSender Uses

func (client ConsumerGroupsClient) 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 (ConsumerGroupsClient) ListByEventHub Uses

func (client ConsumerGroupsClient) ListByEventHub(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, skip *int32, top *int32) (result ConsumerGroupListResultPage, err error)

ListByEventHub gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub 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 (ConsumerGroupsClient) ListByEventHubComplete Uses

func (client ConsumerGroupsClient) ListByEventHubComplete(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, skip *int32, top *int32) (result ConsumerGroupListResultIterator, err error)

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

func (ConsumerGroupsClient) ListByEventHubPreparer Uses

func (client ConsumerGroupsClient) ListByEventHubPreparer(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, skip *int32, top *int32) (*http.Request, error)

ListByEventHubPreparer prepares the ListByEventHub request.

func (ConsumerGroupsClient) ListByEventHubResponder Uses

func (client ConsumerGroupsClient) ListByEventHubResponder(resp *http.Response) (result ConsumerGroupListResult, err error)

ListByEventHubResponder handles the response to the ListByEventHub request. The method always closes the http.Response Body.

func (ConsumerGroupsClient) ListByEventHubSender Uses

func (client ConsumerGroupsClient) ListByEventHubSender(req *http.Request) (*http.Response, error)

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

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 Event Hubs 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) CheckNameAvailability Uses

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

CheckNameAvailability 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 Alias name

func (DisasterRecoveryConfigsClient) CheckNameAvailabilityPreparer Uses

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

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (DisasterRecoveryConfigsClient) CheckNameAvailabilityResponder Uses

func (client DisasterRecoveryConfigsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (DisasterRecoveryConfigsClient) CheckNameAvailabilitySender Uses

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

CheckNameAvailabilitySender sends the CheckNameAvailability 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 AuthorizationRule, err error)

GetAuthorizationRule gets an AuthorizationRule 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 AuthorizationRule, 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 AuthorizationRuleListResultPage, err error)

ListAuthorizationRules gets a list of 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 AuthorizationRuleListResultIterator, 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 AuthorizationRuleListResult, 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 EHNamespace Uses

type EHNamespace struct {
    autorest.Response `json:"-"`
    // Sku - Properties of sku resource
    Sku *Sku `json:"sku,omitempty"`
    // EHNamespaceProperties - Namespace properties supplied for create namespace operation.
    *EHNamespaceProperties `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"`
}

EHNamespace single Namespace item in List or Get Operation

func (EHNamespace) MarshalJSON Uses

func (en EHNamespace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EHNamespace.

func (*EHNamespace) UnmarshalJSON Uses

func (en *EHNamespace) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EHNamespace struct.

type EHNamespaceListResult Uses

type EHNamespaceListResult struct {
    autorest.Response `json:"-"`
    // Value - Result of the List Namespace operation
    Value *[]EHNamespace `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"`
}

EHNamespaceListResult the response of the List Namespace operation

func (EHNamespaceListResult) IsEmpty Uses

func (enlr EHNamespaceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EHNamespaceListResultIterator Uses

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

EHNamespaceListResultIterator provides access to a complete listing of EHNamespace values.

func NewEHNamespaceListResultIterator Uses

func NewEHNamespaceListResultIterator(page EHNamespaceListResultPage) EHNamespaceListResultIterator

Creates a new instance of the EHNamespaceListResultIterator type.

func (*EHNamespaceListResultIterator) Next Uses

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

func (iter *EHNamespaceListResultIterator) 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 (EHNamespaceListResultIterator) NotDone Uses

func (iter EHNamespaceListResultIterator) NotDone() bool

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

func (EHNamespaceListResultIterator) Response Uses

func (iter EHNamespaceListResultIterator) Response() EHNamespaceListResult

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

func (EHNamespaceListResultIterator) Value Uses

func (iter EHNamespaceListResultIterator) Value() EHNamespace

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

type EHNamespaceListResultPage Uses

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

EHNamespaceListResultPage contains a page of EHNamespace values.

func NewEHNamespaceListResultPage Uses

func NewEHNamespaceListResultPage(getNextPage func(context.Context, EHNamespaceListResult) (EHNamespaceListResult, error)) EHNamespaceListResultPage

Creates a new instance of the EHNamespaceListResultPage type.

func (*EHNamespaceListResultPage) Next Uses

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

func (page *EHNamespaceListResultPage) 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 (EHNamespaceListResultPage) NotDone Uses

func (page EHNamespaceListResultPage) NotDone() bool

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

func (EHNamespaceListResultPage) Response Uses

func (page EHNamespaceListResultPage) Response() EHNamespaceListResult

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

func (EHNamespaceListResultPage) Values Uses

func (page EHNamespaceListResultPage) Values() []EHNamespace

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

type EHNamespaceProperties Uses

type EHNamespaceProperties 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"`
    // IsAutoInflateEnabled - Value that indicates whether AutoInflate is enabled for eventhub namespace.
    IsAutoInflateEnabled *bool `json:"isAutoInflateEnabled,omitempty"`
    // MaximumThroughputUnits - Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true)
    MaximumThroughputUnits *int32 `json:"maximumThroughputUnits,omitempty"`
    // KafkaEnabled - Value that indicates whether Kafka is enabled for eventhub namespace.
    KafkaEnabled *bool `json:"kafkaEnabled,omitempty"`
}

EHNamespaceProperties namespace properties supplied for create namespace operation.

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 EventHub service is not able to process the incoming request. The reason is provided in the error message.

type EventHubsClient Uses

type EventHubsClient struct {
    BaseClient
}

EventHubsClient is the azure Event Hubs 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) CreateOrUpdate Uses

func (client EventHubsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, parameters Model) (result Model, err error)

CreateOrUpdate creates or updates a new Event Hub as a nested resource within a Namespace. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name parameters - parameters supplied to create an Event Hub resource.

func (EventHubsClient) CreateOrUpdateAuthorizationRule Uses

func (client EventHubsClient) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, authorizationRuleName string, parameters AuthorizationRule) (result AuthorizationRule, err error)

CreateOrUpdateAuthorizationRule creates or updates an AuthorizationRule for the specified Event Hub. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name authorizationRuleName - the authorization rule name. parameters - the shared access AuthorizationRule.

func (EventHubsClient) CreateOrUpdateAuthorizationRulePreparer Uses

func (client EventHubsClient) CreateOrUpdateAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, authorizationRuleName string, parameters AuthorizationRule) (*http.Request, error)

CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.

func (EventHubsClient) CreateOrUpdateAuthorizationRuleResponder Uses

func (client EventHubsClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)

CreateOrUpdateAuthorizationRuleResponder handles the response to the CreateOrUpdateAuthorizationRule request. The method always closes the http.Response Body.

func (EventHubsClient) CreateOrUpdateAuthorizationRuleSender Uses

func (client EventHubsClient) 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 (EventHubsClient) CreateOrUpdatePreparer Uses

func (client EventHubsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, parameters Model) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EventHubsClient) CreateOrUpdateResponder Uses

func (client EventHubsClient) CreateOrUpdateResponder(resp *http.Response) (result Model, err error)

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

func (EventHubsClient) CreateOrUpdateSender Uses

func (client EventHubsClient) 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 (EventHubsClient) Delete Uses

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

Delete deletes an Event Hub from the specified Namespace and resource group. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name

func (EventHubsClient) DeleteAuthorizationRule Uses

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

DeleteAuthorizationRule deletes an Event Hub AuthorizationRule. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name authorizationRuleName - the authorization rule name.

func (EventHubsClient) DeleteAuthorizationRulePreparer Uses

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

DeleteAuthorizationRulePreparer prepares the DeleteAuthorizationRule request.

func (EventHubsClient) DeleteAuthorizationRuleResponder Uses

func (client EventHubsClient) 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 (EventHubsClient) DeleteAuthorizationRuleSender Uses

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

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

DeletePreparer prepares the Delete request.

func (EventHubsClient) DeleteResponder Uses

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

func (client EventHubsClient) 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 (EventHubsClient) Get Uses

func (client EventHubsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string) (result Model, err error)

Get gets an Event Hubs description for the specified Event Hub. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name

func (EventHubsClient) GetAuthorizationRule Uses

func (client EventHubsClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, authorizationRuleName string) (result AuthorizationRule, err error)

GetAuthorizationRule gets an AuthorizationRule for an Event Hub by rule name. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name authorizationRuleName - the authorization rule name.

func (EventHubsClient) GetAuthorizationRulePreparer Uses

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

GetAuthorizationRulePreparer prepares the GetAuthorizationRule request.

func (EventHubsClient) GetAuthorizationRuleResponder Uses

func (client EventHubsClient) GetAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)

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

func (EventHubsClient) GetAuthorizationRuleSender Uses

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

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

GetPreparer prepares the Get request.

func (EventHubsClient) GetResponder Uses

func (client EventHubsClient) GetResponder(resp *http.Response) (result Model, err error)

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

func (EventHubsClient) GetSender Uses

func (client EventHubsClient) 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 (EventHubsClient) ListAuthorizationRules Uses

func (client EventHubsClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string) (result AuthorizationRuleListResultPage, err error)

ListAuthorizationRules gets the authorization rules for an Event Hub. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name

func (EventHubsClient) ListAuthorizationRulesComplete Uses

func (client EventHubsClient) ListAuthorizationRulesComplete(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string) (result AuthorizationRuleListResultIterator, err error)

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

func (EventHubsClient) ListAuthorizationRulesPreparer Uses

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

ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.

func (EventHubsClient) ListAuthorizationRulesResponder Uses

func (client EventHubsClient) ListAuthorizationRulesResponder(resp *http.Response) (result AuthorizationRuleListResult, err error)

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

func (EventHubsClient) ListAuthorizationRulesSender Uses

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

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

ListByNamespace gets all the Event Hubs 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 (EventHubsClient) ListByNamespaceComplete Uses

func (client EventHubsClient) ListByNamespaceComplete(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (result ListResultIterator, 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, skip *int32, top *int32) (*http.Request, error)

ListByNamespacePreparer prepares the ListByNamespace request.

func (EventHubsClient) ListByNamespaceResponder Uses

func (client EventHubsClient) ListByNamespaceResponder(resp *http.Response) (result ListResult, 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.

func (EventHubsClient) ListKeys Uses

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

ListKeys gets the ACS and SAS connection strings for the Event Hub. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name authorizationRuleName - the authorization rule name.

func (EventHubsClient) ListKeysPreparer Uses

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

ListKeysPreparer prepares the ListKeys request.

func (EventHubsClient) ListKeysResponder Uses

func (client EventHubsClient) 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 (EventHubsClient) ListKeysSender Uses

func (client EventHubsClient) 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 (EventHubsClient) RegenerateKeys Uses

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

RegenerateKeys regenerates the ACS and SAS connection strings for the Event Hub. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name eventHubName - the Event Hub name authorizationRuleName - the authorization rule name. parameters - parameters supplied to regenerate the AuthorizationRule Keys (PrimaryKey/SecondaryKey).

func (EventHubsClient) RegenerateKeysPreparer Uses

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

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (EventHubsClient) RegenerateKeysResponder Uses

func (client EventHubsClient) 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 (EventHubsClient) RegenerateKeysSender Uses

func (client EventHubsClient) 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 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 ListResult Uses

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

ListResult the result of the List EventHubs operation.

func (ListResult) IsEmpty Uses

func (lr ListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListResultIterator Uses

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

ListResultIterator provides access to a complete listing of Model values.

func NewListResultIterator Uses

func NewListResultIterator(page ListResultPage) ListResultIterator

Creates a new instance of the ListResultIterator type.

func (*ListResultIterator) Next Uses

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

func (iter *ListResultIterator) 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 (ListResultIterator) NotDone Uses

func (iter ListResultIterator) NotDone() bool

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

func (ListResultIterator) Response Uses

func (iter ListResultIterator) Response() ListResult

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

func (ListResultIterator) Value Uses

func (iter ListResultIterator) Value() Model

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

type ListResultPage Uses

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

ListResultPage contains a page of Model values.

func NewListResultPage Uses

func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage

Creates a new instance of the ListResultPage type.

func (*ListResultPage) Next Uses

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

func (page *ListResultPage) 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 (ListResultPage) NotDone Uses

func (page ListResultPage) NotDone() bool

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

func (ListResultPage) Response Uses

func (page ListResultPage) Response() ListResult

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

func (ListResultPage) Values Uses

func (page ListResultPage) Values() []Model

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

type MessagingPlan Uses

type MessagingPlan struct {
    autorest.Response        `json:"-"`
    *MessagingPlanProperties `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"`
}

MessagingPlan messaging Plan for the namespace

func (MessagingPlan) MarshalJSON Uses

func (mp MessagingPlan) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MessagingPlan.

func (*MessagingPlan) UnmarshalJSON Uses

func (mp *MessagingPlan) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MessagingPlan struct.

type MessagingPlanProperties Uses

type MessagingPlanProperties struct {
    // Sku - READ-ONLY; Sku type
    Sku *int32 `json:"sku,omitempty"`
    // SelectedEventHubUnit - READ-ONLY; Selected event hub unit
    SelectedEventHubUnit *int32 `json:"selectedEventHubUnit,omitempty"`
    // UpdatedAt - READ-ONLY; The exact time the messaging plan was updated.
    UpdatedAt *date.Time `json:"updatedAt,omitempty"`
    // Revision - READ-ONLY; revision number
    Revision *int64 `json:"revision,omitempty"`
}

MessagingPlanProperties ...

type MessagingRegions Uses

type MessagingRegions struct {
    Properties *MessagingRegionsProperties `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"`
}

MessagingRegions messaging Region

func (MessagingRegions) MarshalJSON Uses

func (mr MessagingRegions) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MessagingRegions.

type MessagingRegionsListResult Uses

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

MessagingRegionsListResult the response of the List MessagingRegions operation.

func (MessagingRegionsListResult) IsEmpty Uses

func (mrlr MessagingRegionsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MessagingRegionsListResultIterator Uses

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

MessagingRegionsListResultIterator provides access to a complete listing of MessagingRegions values.

func NewMessagingRegionsListResultIterator Uses

func NewMessagingRegionsListResultIterator(page MessagingRegionsListResultPage) MessagingRegionsListResultIterator

Creates a new instance of the MessagingRegionsListResultIterator type.

func (*MessagingRegionsListResultIterator) Next Uses

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

func (iter *MessagingRegionsListResultIterator) 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 (MessagingRegionsListResultIterator) NotDone Uses

func (iter MessagingRegionsListResultIterator) NotDone() bool

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

func (MessagingRegionsListResultIterator) Response Uses

func (iter MessagingRegionsListResultIterator) Response() MessagingRegionsListResult

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

func (MessagingRegionsListResultIterator) Value Uses

func (iter MessagingRegionsListResultIterator) Value() MessagingRegions

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

type MessagingRegionsListResultPage Uses

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

MessagingRegionsListResultPage contains a page of MessagingRegions values.

func NewMessagingRegionsListResultPage Uses

func NewMessagingRegionsListResultPage(getNextPage func(context.Context, MessagingRegionsListResult) (MessagingRegionsListResult, error)) MessagingRegionsListResultPage

Creates a new instance of the MessagingRegionsListResultPage type.

func (*MessagingRegionsListResultPage) Next Uses

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

func (page *MessagingRegionsListResultPage) 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 (MessagingRegionsListResultPage) NotDone Uses

func (page MessagingRegionsListResultPage) NotDone() bool

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

func (MessagingRegionsListResultPage) Response Uses

func (page MessagingRegionsListResultPage) Response() MessagingRegionsListResult

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

func (MessagingRegionsListResultPage) Values Uses

func (page MessagingRegionsListResultPage) Values() []MessagingRegions

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

type MessagingRegionsProperties Uses

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

MessagingRegionsProperties ...

type Model Uses

type Model struct {
    autorest.Response `json:"-"`
    // Properties - Properties supplied to the Create Or Update Event Hub operation.
    *Properties `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"`
}

Model single item in List or Get Event Hub operation

func (Model) MarshalJSON Uses

func (mVar Model) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Model.

func (*Model) UnmarshalJSON Uses

func (mVar *Model) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Model struct.

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 NamespacesClient Uses

type NamespacesClient struct {
    BaseClient
}

NamespacesClient is the azure Event Hubs 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) CheckNameAvailability Uses

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

CheckNameAvailability check the give Namespace name availability. Parameters: parameters - parameters to check availability of the given Namespace name

func (NamespacesClient) CheckNameAvailabilityPreparer Uses

func (client NamespacesClient) CheckNameAvailabilityPreparer(ctx context.Context, parameters CheckNameAvailabilityParameter) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (NamespacesClient) CheckNameAvailabilityResponder Uses

func (client NamespacesClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (NamespacesClient) CheckNameAvailabilitySender Uses

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

CheckNameAvailabilitySender sends the CheckNameAvailability 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 EHNamespace) (result NamespacesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a 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 for creating a namespace resource.

func (NamespacesClient) CreateOrUpdateAuthorizationRule Uses

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

CreateOrUpdateAuthorizationRule creates or updates an AuthorizationRule 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 AuthorizationRule.

func (NamespacesClient) CreateOrUpdateAuthorizationRulePreparer Uses

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

CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.

func (NamespacesClient) CreateOrUpdateAuthorizationRuleResponder Uses

func (client NamespacesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)

CreateOrUpdateAuthorizationRuleResponder handles the response to the CreateOrUpdateAuthorizationRule request. The method always closes the http.Response Body.

func (NamespacesClient) CreateOrUpdateAuthorizationRuleSender 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 EHNamespace) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (NamespacesClient) CreateOrUpdateResponder Uses

func (client NamespacesClient) CreateOrUpdateResponder(resp *http.Response) (result EHNamespace, 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 an AuthorizationRule for a Namespace. 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 EHNamespace, err error)

Get gets the description of 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 AuthorizationRule, err error)

GetAuthorizationRule gets an AuthorizationRule 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 AuthorizationRule, 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) GetMessagingPlan Uses

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

GetMessagingPlan gets messaging plan for specified namespace. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name

func (NamespacesClient) GetMessagingPlanPreparer Uses

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

GetMessagingPlanPreparer prepares the GetMessagingPlan request.

func (NamespacesClient) GetMessagingPlanResponder Uses

func (client NamespacesClient) GetMessagingPlanResponder(resp *http.Response) (result MessagingPlan, err error)

GetMessagingPlanResponder handles the response to the GetMessagingPlan request. The method always closes the http.Response Body.

func (NamespacesClient) GetMessagingPlanSender Uses

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

GetMessagingPlanSender sends the GetMessagingPlan 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 EHNamespace, 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 EHNamespaceListResultPage, err error)

List lists all the available Namespaces within a subscription, irrespective of the resource groups.

func (NamespacesClient) ListAuthorizationRules Uses

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

ListAuthorizationRules gets a list of 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 AuthorizationRuleListResultIterator, 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 AuthorizationRuleListResult, 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 EHNamespaceListResultPage, err error)

ListByResourceGroup lists 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 EHNamespaceListResultIterator, 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 EHNamespaceListResult, 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 EHNamespaceListResultIterator, 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 EHNamespaceListResult, 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) 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 specified Namespace. Parameters: resourceGroupName - name of the resource group within the azure subscription. namespaceName - the Namespace name authorizationRuleName - the authorization rule name. parameters - parameters required to regenerate the connection string.

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 EHNamespace) (result EHNamespace, err error)

Update creates or updates a 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 for updating a namespace resource.

func (NamespacesClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (NamespacesClient) UpdateResponder Uses

func (client NamespacesClient) UpdateResponder(resp *http.Response) (result EHNamespace, 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) (en EHNamespace, 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 Event Hub REST API operation

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - READ-ONLY; Service provider: Microsoft.EventHub
    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 Event Hub operations supported by the Microsoft.EventHub 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 Event Hub 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 Event Hubs 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 Event Hub 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 Properties Uses

type Properties 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"`
}

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

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 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 set for KeyType or autogenerated 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 Event Hubs 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 MessagingRegionsListResultPage, 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 MessagingRegionsListResultIterator, 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 MessagingRegionsListResult, 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

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 Sku Uses

type Sku struct {
    // Name - Name of this SKU. Possible values include: 'Basic', 'Standard'
    Name SkuName `json:"name,omitempty"`
    // Tier - The billing tier of this particular SKU. Possible values include: 'SkuTierBasic', 'SkuTierStandard'
    Tier SkuTier `json:"tier,omitempty"`
    // Capacity - The Event Hubs throughput units, value should be 0 to 20 throughput units.
    Capacity *int32 `json:"capacity,omitempty"`
}

Sku SKU parameters supplied to the create namespace operation

type SkuName Uses

type SkuName string

SkuName enumerates the values for sku name.

const (
    // Basic ...
    Basic SkuName = "Basic"
    // 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"
    // 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 TrackedResource Uses

type TrackedResource 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"`
}

TrackedResource definition of Resource

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.

Directories

PathSynopsis
eventhubapi

Package eventhub imports 10 packages (graph) and is imported by 13 packages. Updated 2019-07-30. Refresh now. Tools for package owners.