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

package servicebus

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

Package servicebus implements the Azure ARM Servicebus service API version 2018-01-01-preview.

Azure Service Bus client for managing Namespace, IPFilter Rules, VirtualNetworkRules and Zone Redundant

Index

Package Files

client.go models.go namespaces.go operations.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type BaseClient Uses

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

BaseClient is the base client for Servicebus.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type 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 ErrorResponse Uses

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

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

type IPAction Uses

type IPAction string

IPAction enumerates the values for ip action.

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

func PossibleIPActionValues Uses

func PossibleIPActionValues() []IPAction

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

type IPFilterRule Uses

type IPFilterRule struct {
    autorest.Response `json:"-"`
    // IPFilterRuleProperties - Properties supplied to create or update IpFilterRules
    *IPFilterRuleProperties `json:"properties,omitempty"`
    // ID - 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"`
}

IPFilterRule single item in a List or Get IpFilterRules operation

func (IPFilterRule) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for IPFilterRule.

func (*IPFilterRule) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for IPFilterRule struct.

type IPFilterRuleListResult Uses

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

IPFilterRuleListResult the response from the List namespace operation.

func (IPFilterRuleListResult) IsEmpty Uses

func (ifrlr IPFilterRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type IPFilterRuleListResultIterator Uses

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

IPFilterRuleListResultIterator provides access to a complete listing of IPFilterRule values.

func NewIPFilterRuleListResultIterator Uses

func NewIPFilterRuleListResultIterator(page IPFilterRuleListResultPage) IPFilterRuleListResultIterator

Creates a new instance of the IPFilterRuleListResultIterator type.

func (*IPFilterRuleListResultIterator) Next Uses

func (iter *IPFilterRuleListResultIterator) Next() error

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

func (*IPFilterRuleListResultIterator) NextWithContext Uses

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

func (iter IPFilterRuleListResultIterator) NotDone() bool

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

func (IPFilterRuleListResultIterator) Response Uses

func (iter IPFilterRuleListResultIterator) Response() IPFilterRuleListResult

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

func (IPFilterRuleListResultIterator) Value Uses

func (iter IPFilterRuleListResultIterator) Value() IPFilterRule

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

type IPFilterRuleListResultPage Uses

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

IPFilterRuleListResultPage contains a page of IPFilterRule values.

func NewIPFilterRuleListResultPage Uses

func NewIPFilterRuleListResultPage(getNextPage func(context.Context, IPFilterRuleListResult) (IPFilterRuleListResult, error)) IPFilterRuleListResultPage

Creates a new instance of the IPFilterRuleListResultPage type.

func (*IPFilterRuleListResultPage) Next Uses

func (page *IPFilterRuleListResultPage) Next() error

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

func (*IPFilterRuleListResultPage) NextWithContext Uses

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

func (page IPFilterRuleListResultPage) NotDone() bool

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

func (IPFilterRuleListResultPage) Response Uses

func (page IPFilterRuleListResultPage) Response() IPFilterRuleListResult

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

func (IPFilterRuleListResultPage) Values Uses

func (page IPFilterRuleListResultPage) Values() []IPFilterRule

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

type IPFilterRuleProperties Uses

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

IPFilterRuleProperties properties supplied to create or update IpFilterRules

type 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 the response from the List namespace operation.

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 the response from the List namespace operation.

type NamespacesClient Uses

type NamespacesClient struct {
    BaseClient
}

NamespacesClient is the azure Service Bus client for managing Namespace, IPFilter Rules, VirtualNetworkRules and Zone Redundant

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

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

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

func (NamespacesClient) CreateOrUpdateIPFilterRule Uses

func (client NamespacesClient) CreateOrUpdateIPFilterRule(ctx context.Context, resourceGroupName string, namespaceName string, IPFilterRuleName string, parameters IPFilterRule) (result IPFilterRule, err error)

CreateOrUpdateIPFilterRule creates or updates an IpFilterRule for a Namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name IPFilterRuleName - the IP Filter Rule name. parameters - the Namespace IpFilterRule.

func (NamespacesClient) CreateOrUpdateIPFilterRulePreparer Uses

func (client NamespacesClient) CreateOrUpdateIPFilterRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, IPFilterRuleName string, parameters IPFilterRule) (*http.Request, error)

CreateOrUpdateIPFilterRulePreparer prepares the CreateOrUpdateIPFilterRule request.

func (NamespacesClient) CreateOrUpdateIPFilterRuleResponder Uses

func (client NamespacesClient) CreateOrUpdateIPFilterRuleResponder(resp *http.Response) (result IPFilterRule, err error)

CreateOrUpdateIPFilterRuleResponder handles the response to the CreateOrUpdateIPFilterRule request. The method always closes the http.Response Body.

func (NamespacesClient) CreateOrUpdateIPFilterRuleSender Uses

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

CreateOrUpdateIPFilterRuleSender sends the CreateOrUpdateIPFilterRule 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 gets NetworkRuleSet for a Namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name parameters - the Namespace IpFilterRule.

func (NamespacesClient) CreateOrUpdateNetworkRuleSetPreparer Uses

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

CreateOrUpdateNetworkRuleSetPreparer prepares the CreateOrUpdateNetworkRuleSet request.

func (NamespacesClient) CreateOrUpdateNetworkRuleSetResponder Uses

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

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

func (NamespacesClient) CreateOrUpdateNetworkRuleSetSender Uses

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

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

func (NamespacesClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (NamespacesClient) CreateOrUpdateResponder Uses

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

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

func (NamespacesClient) CreateOrUpdateSender Uses

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

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

func (NamespacesClient) CreateOrUpdateVirtualNetworkRule Uses

func (client NamespacesClient) CreateOrUpdateVirtualNetworkRule(ctx context.Context, resourceGroupName string, namespaceName string, virtualNetworkRuleName string, parameters VirtualNetworkRule) (result VirtualNetworkRule, err error)

CreateOrUpdateVirtualNetworkRule creates or updates an VirtualNetworkRule for a Namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name virtualNetworkRuleName - the Virtual Network Rule name. parameters - the Namespace VirtualNetworkRule.

func (NamespacesClient) CreateOrUpdateVirtualNetworkRulePreparer Uses

func (client NamespacesClient) CreateOrUpdateVirtualNetworkRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, virtualNetworkRuleName string, parameters VirtualNetworkRule) (*http.Request, error)

CreateOrUpdateVirtualNetworkRulePreparer prepares the CreateOrUpdateVirtualNetworkRule request.

func (NamespacesClient) CreateOrUpdateVirtualNetworkRuleResponder Uses

func (client NamespacesClient) CreateOrUpdateVirtualNetworkRuleResponder(resp *http.Response) (result VirtualNetworkRule, err error)

CreateOrUpdateVirtualNetworkRuleResponder handles the response to the CreateOrUpdateVirtualNetworkRule request. The method always closes the http.Response Body.

func (NamespacesClient) CreateOrUpdateVirtualNetworkRuleSender Uses

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

CreateOrUpdateVirtualNetworkRuleSender sends the CreateOrUpdateVirtualNetworkRule 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) DeleteIPFilterRule Uses

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

DeleteIPFilterRule deletes an IpFilterRule for a Namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name IPFilterRuleName - the IP Filter Rule name.

func (NamespacesClient) DeleteIPFilterRulePreparer Uses

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

DeleteIPFilterRulePreparer prepares the DeleteIPFilterRule request.

func (NamespacesClient) DeleteIPFilterRuleResponder Uses

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

DeleteIPFilterRuleResponder handles the response to the DeleteIPFilterRule request. The method always closes the http.Response Body.

func (NamespacesClient) DeleteIPFilterRuleSender Uses

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

DeleteIPFilterRuleSender sends the DeleteIPFilterRule 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) DeleteVirtualNetworkRule Uses

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

DeleteVirtualNetworkRule deletes an VirtualNetworkRule for a Namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name virtualNetworkRuleName - the Virtual Network Rule name.

func (NamespacesClient) DeleteVirtualNetworkRulePreparer Uses

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

DeleteVirtualNetworkRulePreparer prepares the DeleteVirtualNetworkRule request.

func (NamespacesClient) DeleteVirtualNetworkRuleResponder Uses

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

DeleteVirtualNetworkRuleResponder handles the response to the DeleteVirtualNetworkRule request. The method always closes the http.Response Body.

func (NamespacesClient) DeleteVirtualNetworkRuleSender Uses

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

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

func (NamespacesClient) Get Uses

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

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

func (NamespacesClient) GetIPFilterRule Uses

func (client NamespacesClient) GetIPFilterRule(ctx context.Context, resourceGroupName string, namespaceName string, IPFilterRuleName string) (result IPFilterRule, err error)

GetIPFilterRule gets an IpFilterRule for a Namespace by rule name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name IPFilterRuleName - the IP Filter Rule name.

func (NamespacesClient) GetIPFilterRulePreparer Uses

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

GetIPFilterRulePreparer prepares the GetIPFilterRule request.

func (NamespacesClient) GetIPFilterRuleResponder Uses

func (client NamespacesClient) GetIPFilterRuleResponder(resp *http.Response) (result IPFilterRule, err error)

GetIPFilterRuleResponder handles the response to the GetIPFilterRule request. The method always closes the http.Response Body.

func (NamespacesClient) GetIPFilterRuleSender Uses

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

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

func (NamespacesClient) GetNetworkRuleSet Uses

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

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

func (NamespacesClient) GetNetworkRuleSetPreparer Uses

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

GetNetworkRuleSetPreparer prepares the GetNetworkRuleSet request.

func (NamespacesClient) GetNetworkRuleSetResponder Uses

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

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

func (NamespacesClient) GetNetworkRuleSetSender Uses

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

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

func (NamespacesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (NamespacesClient) GetResponder Uses

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

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

func (NamespacesClient) GetSender Uses

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

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

func (NamespacesClient) GetVirtualNetworkRule Uses

func (client NamespacesClient) GetVirtualNetworkRule(ctx context.Context, resourceGroupName string, namespaceName string, virtualNetworkRuleName string) (result VirtualNetworkRule, err error)

GetVirtualNetworkRule gets an VirtualNetworkRule for a Namespace by rule name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name virtualNetworkRuleName - the Virtual Network Rule name.

func (NamespacesClient) GetVirtualNetworkRulePreparer Uses

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

GetVirtualNetworkRulePreparer prepares the GetVirtualNetworkRule request.

func (NamespacesClient) GetVirtualNetworkRuleResponder Uses

func (client NamespacesClient) GetVirtualNetworkRuleResponder(resp *http.Response) (result VirtualNetworkRule, err error)

GetVirtualNetworkRuleResponder handles the response to the GetVirtualNetworkRule request. The method always closes the http.Response Body.

func (NamespacesClient) GetVirtualNetworkRuleSender Uses

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

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

func (NamespacesClient) List Uses

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

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

func (NamespacesClient) ListByResourceGroup Uses

func (client NamespacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SBNamespaceListResultPage, err error)

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

func (NamespacesClient) ListByResourceGroupComplete Uses

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

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

func (NamespacesClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (NamespacesClient) ListByResourceGroupResponder Uses

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

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

func (NamespacesClient) ListByResourceGroupSender Uses

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

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

func (NamespacesClient) ListComplete Uses

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

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

func (NamespacesClient) ListIPFilterRules Uses

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

ListIPFilterRules gets a list of IP Filter rules for a Namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the namespace name

func (NamespacesClient) ListIPFilterRulesComplete Uses

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

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

func (NamespacesClient) ListIPFilterRulesPreparer Uses

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

ListIPFilterRulesPreparer prepares the ListIPFilterRules request.

func (NamespacesClient) ListIPFilterRulesResponder Uses

func (client NamespacesClient) ListIPFilterRulesResponder(resp *http.Response) (result IPFilterRuleListResult, err error)

ListIPFilterRulesResponder handles the response to the ListIPFilterRules request. The method always closes the http.Response Body.

func (NamespacesClient) ListIPFilterRulesSender Uses

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

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

func (NamespacesClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (NamespacesClient) ListResponder Uses

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

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

func (NamespacesClient) ListSender Uses

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

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

func (NamespacesClient) ListVirtualNetworkRules Uses

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

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

func (NamespacesClient) ListVirtualNetworkRulesComplete Uses

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

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

func (NamespacesClient) ListVirtualNetworkRulesPreparer Uses

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

ListVirtualNetworkRulesPreparer prepares the ListVirtualNetworkRules request.

func (NamespacesClient) ListVirtualNetworkRulesResponder Uses

func (client NamespacesClient) ListVirtualNetworkRulesResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)

ListVirtualNetworkRulesResponder handles the response to the ListVirtualNetworkRules request. The method always closes the http.Response Body.

func (NamespacesClient) ListVirtualNetworkRulesSender Uses

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

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

func (NamespacesClient) Update Uses

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

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

func (NamespacesClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (NamespacesClient) UpdateResponder Uses

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

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

func (NamespacesClient) UpdateSender Uses

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

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

type NamespacesCreateOrUpdateFuture Uses

type NamespacesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*NamespacesCreateOrUpdateFuture) Result Uses

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

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

type NamespacesDeleteFuture Uses

type NamespacesDeleteFuture struct {
    azure.Future
}

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

func (*NamespacesDeleteFuture) Result Uses

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

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

type NetworkRuleIPAction Uses

type NetworkRuleIPAction string

NetworkRuleIPAction enumerates the values for network rule ip action.

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

func PossibleNetworkRuleIPActionValues Uses

func PossibleNetworkRuleIPActionValues() []NetworkRuleIPAction

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

type NetworkRuleSet Uses

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

NetworkRuleSet description of topic resource.

func (NetworkRuleSet) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for NetworkRuleSet.

func (*NetworkRuleSet) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for NetworkRuleSet struct.

type NetworkRuleSetProperties Uses

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

NetworkRuleSetProperties networkRuleSet properties

type Operation Uses

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

Operation a ServiceBus REST API operation

type OperationDisplay Uses

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

OperationDisplay the object that represents the operation.

type OperationListResult Uses

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

OperationListResult result of the request to list ServiceBus operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

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

func (*OperationListResultIterator) NextWithContext Uses

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

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

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

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

func (*OperationListResultPage) NextWithContext Uses

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

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

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the azure Service Bus client for managing Namespace, IPFilter Rules, VirtualNetworkRules and Zone Redundant

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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

List lists all of the available ServiceBus REST API operations.

func (OperationsClient) ListComplete Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

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

func (OperationsClient) ListSender Uses

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

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

type Resource Uses

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

Resource the Resource definition for other than namespace.

type ResourceNamespacePatch Uses

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

ResourceNamespacePatch the Resource definition.

func (ResourceNamespacePatch) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ResourceNamespacePatch.

type SBNamespace Uses

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

SBNamespace description of a namespace resource.

func (SBNamespace) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SBNamespace.

func (*SBNamespace) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SBNamespace struct.

type SBNamespaceListResult Uses

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

SBNamespaceListResult the response of the List Namespace operation.

func (SBNamespaceListResult) IsEmpty Uses

func (snlr SBNamespaceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SBNamespaceListResultIterator Uses

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

SBNamespaceListResultIterator provides access to a complete listing of SBNamespace values.

func NewSBNamespaceListResultIterator Uses

func NewSBNamespaceListResultIterator(page SBNamespaceListResultPage) SBNamespaceListResultIterator

Creates a new instance of the SBNamespaceListResultIterator type.

func (*SBNamespaceListResultIterator) Next Uses

func (iter *SBNamespaceListResultIterator) Next() error

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

func (*SBNamespaceListResultIterator) NextWithContext Uses

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

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

func (SBNamespaceListResultIterator) NotDone Uses

func (iter SBNamespaceListResultIterator) NotDone() bool

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

func (SBNamespaceListResultIterator) Response Uses

func (iter SBNamespaceListResultIterator) Response() SBNamespaceListResult

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

func (SBNamespaceListResultIterator) Value Uses

func (iter SBNamespaceListResultIterator) Value() SBNamespace

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

type SBNamespaceListResultPage Uses

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

SBNamespaceListResultPage contains a page of SBNamespace values.

func NewSBNamespaceListResultPage Uses

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

Creates a new instance of the SBNamespaceListResultPage type.

func (*SBNamespaceListResultPage) Next Uses

func (page *SBNamespaceListResultPage) Next() error

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

func (*SBNamespaceListResultPage) NextWithContext Uses

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

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

func (SBNamespaceListResultPage) NotDone Uses

func (page SBNamespaceListResultPage) NotDone() bool

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

func (SBNamespaceListResultPage) Response Uses

func (page SBNamespaceListResultPage) Response() SBNamespaceListResult

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

func (SBNamespaceListResultPage) Values Uses

func (page SBNamespaceListResultPage) Values() []SBNamespace

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

type SBNamespaceProperties Uses

type SBNamespaceProperties struct {
    // ProvisioningState - READ-ONLY; Provisioning state of the namespace.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // CreatedAt - READ-ONLY; The time the namespace was created.
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // UpdatedAt - READ-ONLY; The time the namespace was updated.
    UpdatedAt *date.Time `json:"updatedAt,omitempty"`
    // ServiceBusEndpoint - READ-ONLY; Endpoint you can use to perform Service Bus operations.
    ServiceBusEndpoint *string `json:"serviceBusEndpoint,omitempty"`
    // MetricID - READ-ONLY; Identifier for Azure Insights metrics
    MetricID *string `json:"metricId,omitempty"`
    // ZoneRedundant - Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.
    ZoneRedundant *bool `json:"zoneRedundant,omitempty"`
}

SBNamespaceProperties properties of the namespace.

type SBNamespaceUpdateParameters Uses

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

SBNamespaceUpdateParameters description of a namespace resource.

func (SBNamespaceUpdateParameters) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SBNamespaceUpdateParameters.

func (*SBNamespaceUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SBNamespaceUpdateParameters struct.

type SBSku Uses

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

SBSku SKU of the namespace.

type SkuName Uses

type SkuName string

SkuName enumerates the values for sku name.

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

func PossibleSkuNameValues Uses

func PossibleSkuNameValues() []SkuName

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

type SkuTier Uses

type SkuTier string

SkuTier enumerates the values for sku tier.

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

func PossibleSkuTierValues Uses

func PossibleSkuTierValues() []SkuTier

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

type Subnet Uses

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

Subnet properties supplied for Subnet

type TrackedResource Uses

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

TrackedResource the Resource definition.

func (TrackedResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

type VirtualNetworkRule Uses

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

VirtualNetworkRule single item in a List or Get VirtualNetworkRules operation

func (VirtualNetworkRule) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for VirtualNetworkRule.

func (*VirtualNetworkRule) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for VirtualNetworkRule struct.

type VirtualNetworkRuleListResult Uses

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

VirtualNetworkRuleListResult the response from the List namespace operation.

func (VirtualNetworkRuleListResult) IsEmpty Uses

func (vnrlr VirtualNetworkRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkRuleListResultIterator Uses

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

VirtualNetworkRuleListResultIterator provides access to a complete listing of VirtualNetworkRule values.

func NewVirtualNetworkRuleListResultIterator Uses

func NewVirtualNetworkRuleListResultIterator(page VirtualNetworkRuleListResultPage) VirtualNetworkRuleListResultIterator

Creates a new instance of the VirtualNetworkRuleListResultIterator type.

func (*VirtualNetworkRuleListResultIterator) Next Uses

func (iter *VirtualNetworkRuleListResultIterator) Next() error

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

func (*VirtualNetworkRuleListResultIterator) NextWithContext Uses

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

func (iter VirtualNetworkRuleListResultIterator) NotDone() bool

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

func (VirtualNetworkRuleListResultIterator) Response Uses

func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult

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

func (VirtualNetworkRuleListResultIterator) Value Uses

func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule

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

type VirtualNetworkRuleListResultPage Uses

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

VirtualNetworkRuleListResultPage contains a page of VirtualNetworkRule values.

func NewVirtualNetworkRuleListResultPage Uses

func NewVirtualNetworkRuleListResultPage(getNextPage func(context.Context, VirtualNetworkRuleListResult) (VirtualNetworkRuleListResult, error)) VirtualNetworkRuleListResultPage

Creates a new instance of the VirtualNetworkRuleListResultPage type.

func (*VirtualNetworkRuleListResultPage) Next Uses

func (page *VirtualNetworkRuleListResultPage) Next() error

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

func (*VirtualNetworkRuleListResultPage) NextWithContext Uses

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

func (page VirtualNetworkRuleListResultPage) NotDone() bool

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

func (VirtualNetworkRuleListResultPage) Response Uses

func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult

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

func (VirtualNetworkRuleListResultPage) Values Uses

func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule

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

type VirtualNetworkRuleProperties Uses

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

VirtualNetworkRuleProperties properties supplied to create or update VirtualNetworkRules

Directories

PathSynopsis
servicebusapi

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