azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2016-07-01/relay Index | Files | Directories

package relay

import "github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2016-07-01/relay"

Package relay implements the Azure ARM Relay service API version 2016-07-01.

Use these API to manage Azure Relay resources through Azure Resources Manager.

Index

Package Files

client.go hybridconnections.go models.go namespaces.go operations.go version.go wcfrelays.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Relay
    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 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 AuthorizationRule Uses

type AuthorizationRule struct {
    autorest.Response `json:"-"`
    // AuthorizationRuleProperties - Authorization Rule properties
    *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 description of a Namespace AuthorizationRules.

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

type AuthorizationRuleKeys struct {
    autorest.Response `json:"-"`
    // PrimaryConnectionString - PrimaryConnectionString of the created Namespace AuthorizationRule.
    PrimaryConnectionString *string `json:"primaryConnectionString,omitempty"`
    // SecondaryConnectionString - SecondaryConnectionString of the created Namespace AuthorizationRule
    SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty"`
    // PrimaryKey - A base64-encoded 256-bit primary key for signing and validating the SAS token
    PrimaryKey *string `json:"primaryKey,omitempty"`
    // SecondaryKey - A base64-encoded 256-bit secondary key for signing and validating the SAS token
    SecondaryKey *string `json:"secondaryKey,omitempty"`
    // KeyName - A string that describes the authorization rule
    KeyName *string `json:"keyName,omitempty"`
}

AuthorizationRuleKeys namespace/Relay Connection String

type AuthorizationRuleListResult Uses

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

AuthorizationRuleListResult the response of 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 authorizationRule properties.

type BaseClient Uses

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

BaseClient is the base client for Relay.

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

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

CheckNameAvailability description of a Check Name availability request properties.

type CheckNameAvailabilityResult Uses

type CheckNameAvailabilityResult struct {
    autorest.Response `json:"-"`
    // 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"`
    // Message - READ-ONLY; The detailed info regarding the reason associated with the namespace.
    Message *string `json:"message,omitempty"`
}

CheckNameAvailabilityResult description of a Check Name availability request properties.

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

type HybridConnection Uses

type HybridConnection struct {
    autorest.Response `json:"-"`
    // HybridConnectionProperties - Properties of HybridConnection
    *HybridConnectionProperties `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"`
}

HybridConnection description of HybridConnection Resource.

func (HybridConnection) MarshalJSON Uses

func (hc HybridConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HybridConnection.

func (*HybridConnection) UnmarshalJSON Uses

func (hc *HybridConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for HybridConnection struct.

type HybridConnectionListResult Uses

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

HybridConnectionListResult the response of the List HybridConnection operation.

func (HybridConnectionListResult) IsEmpty Uses

func (hclr HybridConnectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HybridConnectionListResultIterator Uses

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

HybridConnectionListResultIterator provides access to a complete listing of HybridConnection values.

func NewHybridConnectionListResultIterator Uses

func NewHybridConnectionListResultIterator(page HybridConnectionListResultPage) HybridConnectionListResultIterator

Creates a new instance of the HybridConnectionListResultIterator type.

func (*HybridConnectionListResultIterator) Next Uses

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

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

func (iter HybridConnectionListResultIterator) NotDone() bool

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

func (HybridConnectionListResultIterator) Response Uses

func (iter HybridConnectionListResultIterator) Response() HybridConnectionListResult

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

func (HybridConnectionListResultIterator) Value Uses

func (iter HybridConnectionListResultIterator) Value() HybridConnection

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

type HybridConnectionListResultPage Uses

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

HybridConnectionListResultPage contains a page of HybridConnection values.

func NewHybridConnectionListResultPage Uses

func NewHybridConnectionListResultPage(getNextPage func(context.Context, HybridConnectionListResult) (HybridConnectionListResult, error)) HybridConnectionListResultPage

Creates a new instance of the HybridConnectionListResultPage type.

func (*HybridConnectionListResultPage) Next Uses

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

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

func (page HybridConnectionListResultPage) NotDone() bool

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

func (HybridConnectionListResultPage) Response Uses

func (page HybridConnectionListResultPage) Response() HybridConnectionListResult

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

func (HybridConnectionListResultPage) Values Uses

func (page HybridConnectionListResultPage) Values() []HybridConnection

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

type HybridConnectionProperties Uses

type HybridConnectionProperties struct {
    // CreatedAt - READ-ONLY; The time the HybridConnection was created.
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // UpdatedAt - READ-ONLY; The time the namespace was updated.
    UpdatedAt *date.Time `json:"updatedAt,omitempty"`
    // ListenerCount - READ-ONLY; The number of listeners for this HybridConnection. min : 1 and max:25 supported
    ListenerCount *int32 `json:"listenerCount,omitempty"`
    // RequiresClientAuthorization - true if client authorization is needed for this HybridConnection; otherwise, false.
    RequiresClientAuthorization *bool `json:"requiresClientAuthorization,omitempty"`
    // UserMetadata - usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.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"`
}

HybridConnectionProperties properties of the HybridConnection.

type HybridConnectionsClient Uses

type HybridConnectionsClient struct {
    BaseClient
}

HybridConnectionsClient is the use these API to manage Azure Relay resources through Azure Resources Manager.

func NewHybridConnectionsClient Uses

func NewHybridConnectionsClient(subscriptionID string) HybridConnectionsClient

NewHybridConnectionsClient creates an instance of the HybridConnectionsClient client.

func NewHybridConnectionsClientWithBaseURI Uses

func NewHybridConnectionsClientWithBaseURI(baseURI string, subscriptionID string) HybridConnectionsClient

NewHybridConnectionsClientWithBaseURI creates an instance of the HybridConnectionsClient client.

func (HybridConnectionsClient) CreateOrUpdate Uses

func (client HybridConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string, parameters HybridConnection) (result HybridConnection, err error)

CreateOrUpdate creates or Updates a service HybridConnection. This operation is idempotent. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name. parameters - parameters supplied to create a HybridConnection.

func (HybridConnectionsClient) CreateOrUpdateAuthorizationRule Uses

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

CreateOrUpdateAuthorizationRule creates or Updates an authorization rule for a HybridConnection Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name. authorizationRuleName - the authorizationRule name. parameters - the authorization rule parameters

func (HybridConnectionsClient) CreateOrUpdateAuthorizationRulePreparer Uses

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

CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.

func (HybridConnectionsClient) CreateOrUpdateAuthorizationRuleResponder Uses

func (client HybridConnectionsClient) 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 (HybridConnectionsClient) CreateOrUpdateAuthorizationRuleSender Uses

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

func (client HybridConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string, parameters HybridConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (HybridConnectionsClient) CreateOrUpdateResponder Uses

func (client HybridConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result HybridConnection, err error)

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

func (HybridConnectionsClient) CreateOrUpdateSender Uses

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

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

Delete deletes a HybridConnection . Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name.

func (HybridConnectionsClient) DeleteAuthorizationRule Uses

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

DeleteAuthorizationRule deletes a HybridConnection authorization rule Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name. authorizationRuleName - the authorizationRule name.

func (HybridConnectionsClient) DeleteAuthorizationRulePreparer Uses

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

DeleteAuthorizationRulePreparer prepares the DeleteAuthorizationRule request.

func (HybridConnectionsClient) DeleteAuthorizationRuleResponder Uses

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

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

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

DeletePreparer prepares the Delete request.

func (HybridConnectionsClient) DeleteResponder Uses

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

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

func (client HybridConnectionsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string) (result HybridConnection, err error)

Get returns the description for the specified HybridConnection. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name.

func (HybridConnectionsClient) GetAuthorizationRule Uses

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

GetAuthorizationRule hybridConnection authorizationRule for a HybridConnection by name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name. authorizationRuleName - the authorizationRule name.

func (HybridConnectionsClient) GetAuthorizationRulePreparer Uses

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

GetAuthorizationRulePreparer prepares the GetAuthorizationRule request.

func (HybridConnectionsClient) GetAuthorizationRuleResponder Uses

func (client HybridConnectionsClient) 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 (HybridConnectionsClient) GetAuthorizationRuleSender Uses

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

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

GetPreparer prepares the Get request.

func (HybridConnectionsClient) GetResponder Uses

func (client HybridConnectionsClient) GetResponder(resp *http.Response) (result HybridConnection, err error)

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

func (HybridConnectionsClient) GetSender Uses

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

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

ListAuthorizationRules authorization rules for a HybridConnection. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name.

func (HybridConnectionsClient) ListAuthorizationRulesComplete Uses

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

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

func (HybridConnectionsClient) ListAuthorizationRulesPreparer Uses

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

ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.

func (HybridConnectionsClient) ListAuthorizationRulesResponder Uses

func (client HybridConnectionsClient) 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 (HybridConnectionsClient) ListAuthorizationRulesSender Uses

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

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

ListByNamespace lists the HybridConnection within the namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name

func (HybridConnectionsClient) ListByNamespaceComplete Uses

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

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

func (HybridConnectionsClient) ListByNamespacePreparer Uses

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

ListByNamespacePreparer prepares the ListByNamespace request.

func (HybridConnectionsClient) ListByNamespaceResponder Uses

func (client HybridConnectionsClient) ListByNamespaceResponder(resp *http.Response) (result HybridConnectionListResult, err error)

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

func (HybridConnectionsClient) ListByNamespaceSender Uses

func (client HybridConnectionsClient) 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 (HybridConnectionsClient) ListKeys Uses

func (client HybridConnectionsClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string) (result AuthorizationRuleKeys, err error)

ListKeys primary and Secondary ConnectionStrings to the HybridConnection. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name. authorizationRuleName - the authorizationRule name.

func (HybridConnectionsClient) ListKeysPreparer Uses

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

ListKeysPreparer prepares the ListKeys request.

func (HybridConnectionsClient) ListKeysResponder Uses

func (client HybridConnectionsClient) ListKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)

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

func (HybridConnectionsClient) ListKeysSender Uses

func (client HybridConnectionsClient) 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 (HybridConnectionsClient) ListPostAuthorizationRules Uses

func (client HybridConnectionsClient) ListPostAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string) (result AuthorizationRuleListResultPage, err error)

ListPostAuthorizationRules authorization rules for a HybridConnection. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name.

func (HybridConnectionsClient) ListPostAuthorizationRulesComplete Uses

func (client HybridConnectionsClient) ListPostAuthorizationRulesComplete(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string) (result AuthorizationRuleListResultIterator, err error)

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

func (HybridConnectionsClient) ListPostAuthorizationRulesPreparer Uses

func (client HybridConnectionsClient) ListPostAuthorizationRulesPreparer(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string) (*http.Request, error)

ListPostAuthorizationRulesPreparer prepares the ListPostAuthorizationRules request.

func (HybridConnectionsClient) ListPostAuthorizationRulesResponder Uses

func (client HybridConnectionsClient) ListPostAuthorizationRulesResponder(resp *http.Response) (result AuthorizationRuleListResult, err error)

ListPostAuthorizationRulesResponder handles the response to the ListPostAuthorizationRules request. The method always closes the http.Response Body.

func (HybridConnectionsClient) ListPostAuthorizationRulesSender Uses

func (client HybridConnectionsClient) ListPostAuthorizationRulesSender(req *http.Request) (*http.Response, error)

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

func (HybridConnectionsClient) PostAuthorizationRule Uses

func (client HybridConnectionsClient) PostAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string) (result AuthorizationRule, err error)

PostAuthorizationRule hybridConnection authorizationRule for a HybridConnection by name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name. authorizationRuleName - the authorizationRule name.

func (HybridConnectionsClient) PostAuthorizationRulePreparer Uses

func (client HybridConnectionsClient) PostAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string) (*http.Request, error)

PostAuthorizationRulePreparer prepares the PostAuthorizationRule request.

func (HybridConnectionsClient) PostAuthorizationRuleResponder Uses

func (client HybridConnectionsClient) PostAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)

PostAuthorizationRuleResponder handles the response to the PostAuthorizationRule request. The method always closes the http.Response Body.

func (HybridConnectionsClient) PostAuthorizationRuleSender Uses

func (client HybridConnectionsClient) PostAuthorizationRuleSender(req *http.Request) (*http.Response, error)

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

func (HybridConnectionsClient) RegenerateKeys Uses

func (client HybridConnectionsClient) RegenerateKeys(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string, parameters RegenerateKeysParameters) (result AuthorizationRuleKeys, err error)

RegenerateKeys regenerates the Primary or Secondary ConnectionStrings to the HybridConnection Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name hybridConnectionName - the hybrid connection name. authorizationRuleName - the authorizationRule name. parameters - parameters supplied to regenerate Auth Rule.

func (HybridConnectionsClient) RegenerateKeysPreparer Uses

func (client HybridConnectionsClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, namespaceName string, hybridConnectionName string, authorizationRuleName string, parameters RegenerateKeysParameters) (*http.Request, error)

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (HybridConnectionsClient) RegenerateKeysResponder Uses

func (client HybridConnectionsClient) RegenerateKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)

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

func (HybridConnectionsClient) RegenerateKeysSender Uses

func (client HybridConnectionsClient) 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 Namespace Uses

type Namespace struct {
    autorest.Response `json:"-"`
    // Sku - Sku of the Namespace.
    Sku *Sku `json:"sku,omitempty"`
    // NamespaceProperties - Description of Relay Namespace
    *NamespaceProperties `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"`
}

Namespace description of a Namespace resource.

func (Namespace) MarshalJSON Uses

func (n Namespace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Namespace.

func (*Namespace) UnmarshalJSON Uses

func (n *Namespace) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Namespace struct.

type NamespaceListResult Uses

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

NamespaceListResult the response of the List Namespace operation.

func (NamespaceListResult) IsEmpty Uses

func (nlr NamespaceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type NamespaceListResultIterator Uses

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

NamespaceListResultIterator provides access to a complete listing of Namespace values.

func NewNamespaceListResultIterator Uses

func NewNamespaceListResultIterator(page NamespaceListResultPage) NamespaceListResultIterator

Creates a new instance of the NamespaceListResultIterator type.

func (*NamespaceListResultIterator) Next Uses

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

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

func (iter NamespaceListResultIterator) NotDone() bool

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

func (NamespaceListResultIterator) Response Uses

func (iter NamespaceListResultIterator) Response() NamespaceListResult

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

func (NamespaceListResultIterator) Value Uses

func (iter NamespaceListResultIterator) Value() Namespace

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

type NamespaceListResultPage Uses

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

NamespaceListResultPage contains a page of Namespace values.

func NewNamespaceListResultPage Uses

func NewNamespaceListResultPage(getNextPage func(context.Context, NamespaceListResult) (NamespaceListResult, error)) NamespaceListResultPage

Creates a new instance of the NamespaceListResultPage type.

func (*NamespaceListResultPage) Next Uses

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

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

func (page NamespaceListResultPage) NotDone() bool

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

func (NamespaceListResultPage) Response Uses

func (page NamespaceListResultPage) Response() NamespaceListResult

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

func (NamespaceListResultPage) Values Uses

func (page NamespaceListResultPage) Values() []Namespace

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

type NamespaceProperties Uses

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

NamespaceProperties properties of the Namespace.

type NamespaceUpdateParameter Uses

type NamespaceUpdateParameter struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Sku - The sku of the created namespace
    Sku *Sku `json:"sku,omitempty"`
}

NamespaceUpdateParameter parameters supplied to the Patch Namespace operation.

func (NamespaceUpdateParameter) MarshalJSON Uses

func (nup NamespaceUpdateParameter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NamespaceUpdateParameter.

type NamespacesClient Uses

type NamespacesClient struct {
    BaseClient
}

NamespacesClient is the use these API to manage Azure Relay resources through Azure Resources Manager.

func NewNamespacesClient Uses

func NewNamespacesClient(subscriptionID string) NamespacesClient

NewNamespacesClient creates an instance of the NamespacesClient client.

func NewNamespacesClientWithBaseURI Uses

func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient

NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client.

func (NamespacesClient) CheckNameAvailabilityMethod Uses

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

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

func (NamespacesClient) CheckNameAvailabilityMethodPreparer Uses

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

CheckNameAvailabilityMethodPreparer prepares the CheckNameAvailabilityMethod request.

func (NamespacesClient) CheckNameAvailabilityMethodResponder Uses

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

CheckNameAvailabilityMethodResponder handles the response to the CheckNameAvailabilityMethod request. The method always closes the http.Response Body.

func (NamespacesClient) CheckNameAvailabilityMethodSender Uses

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

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

func (NamespacesClient) CreateOrUpdate Uses

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

CreateOrUpdate create Azure Relay namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name parameters - parameters supplied to create a Namespace Resource.

func (NamespacesClient) CreateOrUpdateAuthorizationRule Uses

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

CreateOrUpdateAuthorizationRule creates or Updates an authorization rule for a namespace Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name authorizationRuleName - the authorizationRule name. parameters - the authorization rule parameters

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

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (NamespacesClient) CreateOrUpdateResponder Uses

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

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

func (NamespacesClient) CreateOrUpdateSender Uses

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

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

func (NamespacesClient) Delete Uses

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

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

func (NamespacesClient) DeleteAuthorizationRule Uses

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

DeleteAuthorizationRule deletes a namespace authorization rule Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name authorizationRuleName - the authorizationRule 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 Namespace, err error)

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

func (NamespacesClient) GetAuthorizationRule Uses

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

GetAuthorizationRule authorization rule for a namespace by name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name authorizationRuleName - the authorizationRule 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) 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 Namespace, 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 NamespaceListResultPage, err error)

List lists all the available namespaces within the subscription irrespective of the resourceGroups.

func (NamespacesClient) ListAuthorizationRules Uses

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

ListAuthorizationRules 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 NamespaceListResultPage, err error)

ListByResourceGroup lists all the available namespaces within the ResourceGroup. 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 NamespaceListResultIterator, 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 NamespaceListResult, 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 NamespaceListResultIterator, 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 AuthorizationRuleKeys, err error)

ListKeys primary and Secondary ConnectionStrings to the namespace Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name authorizationRuleName - the authorizationRule 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 AuthorizationRuleKeys, 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) ListPostAuthorizationRules Uses

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

ListPostAuthorizationRules authorization rules for a namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name

func (NamespacesClient) ListPostAuthorizationRulesComplete Uses

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

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

func (NamespacesClient) ListPostAuthorizationRulesPreparer Uses

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

ListPostAuthorizationRulesPreparer prepares the ListPostAuthorizationRules request.

func (NamespacesClient) ListPostAuthorizationRulesResponder Uses

func (client NamespacesClient) ListPostAuthorizationRulesResponder(resp *http.Response) (result AuthorizationRuleListResult, err error)

ListPostAuthorizationRulesResponder handles the response to the ListPostAuthorizationRules request. The method always closes the http.Response Body.

func (NamespacesClient) ListPostAuthorizationRulesSender Uses

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

ListPostAuthorizationRulesSender sends the ListPostAuthorizationRules 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 NamespaceListResult, 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) PostAuthorizationRule Uses

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

PostAuthorizationRule authorization rule for a namespace by name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name authorizationRuleName - the authorizationRule name.

func (NamespacesClient) PostAuthorizationRulePreparer Uses

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

PostAuthorizationRulePreparer prepares the PostAuthorizationRule request.

func (NamespacesClient) PostAuthorizationRuleResponder Uses

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

PostAuthorizationRuleResponder handles the response to the PostAuthorizationRule request. The method always closes the http.Response Body.

func (NamespacesClient) PostAuthorizationRuleSender Uses

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

PostAuthorizationRuleSender sends the PostAuthorizationRule 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 RegenerateKeysParameters) (result AuthorizationRuleKeys, err error)

RegenerateKeys regenerates the Primary or Secondary ConnectionStrings to the namespace Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name authorizationRuleName - the authorizationRule name. parameters - parameters supplied to regenerate Auth Rule.

func (NamespacesClient) RegenerateKeysPreparer Uses

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

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (NamespacesClient) RegenerateKeysResponder Uses

func (client NamespacesClient) RegenerateKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, 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 NamespaceUpdateParameter) (result Namespace, 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 NamespaceUpdateParameter) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (NamespacesClient) UpdateResponder Uses

func (client NamespacesClient) UpdateResponder(resp *http.Response) (result Namespace, 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) (n Namespace, 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 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 EventHub 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 EventHub 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 EventHub 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 use these API to manage Azure Relay resources through Azure Resources Manager.

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 Relay 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 PolicyKey Uses

type PolicyKey string

PolicyKey enumerates the values for policy key.

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

func PossiblePolicyKeyValues Uses

func PossiblePolicyKeyValues() []PolicyKey

PossiblePolicyKeyValues returns an array of possible values for the PolicyKey const type.

type RegenerateKeysParameters Uses

type RegenerateKeysParameters struct {
    // PolicyKey - Key that needs to be regenerated. Possible values include: 'PrimaryKey', 'SecondaryKey'
    PolicyKey PolicyKey `json:"policyKey,omitempty"`
}

RegenerateKeysParameters parameters supplied to the Regenerate Authorization Rule operation.

type RelaytypeEnum Uses

type RelaytypeEnum string

RelaytypeEnum enumerates the values for relaytype enum.

const (
    // HTTP ...
    HTTP RelaytypeEnum = "Http"
    // NetTCP ...
    NetTCP RelaytypeEnum = "NetTcp"
)

func PossibleRelaytypeEnumValues Uses

func PossibleRelaytypeEnumValues() []RelaytypeEnum

PossibleRelaytypeEnumValues returns an array of possible values for the RelaytypeEnum const type.

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

type Sku struct {
    // Name - Name of this Sku
    Name *string `json:"name,omitempty"`
    // Tier - The tier of this particular SKU
    Tier *string `json:"tier,omitempty"`
}

Sku sku of the Namespace.

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.

type WCFRelaysClient Uses

type WCFRelaysClient struct {
    BaseClient
}

WCFRelaysClient is the use these API to manage Azure Relay resources through Azure Resources Manager.

func NewWCFRelaysClient Uses

func NewWCFRelaysClient(subscriptionID string) WCFRelaysClient

NewWCFRelaysClient creates an instance of the WCFRelaysClient client.

func NewWCFRelaysClientWithBaseURI Uses

func NewWCFRelaysClientWithBaseURI(baseURI string, subscriptionID string) WCFRelaysClient

NewWCFRelaysClientWithBaseURI creates an instance of the WCFRelaysClient client.

func (WCFRelaysClient) CreateOrUpdate Uses

func (client WCFRelaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, relayName string, parameters WcfRelay) (result WcfRelay, err error)

CreateOrUpdate creates or Updates a WCFRelay. This operation is idempotent. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name parameters - parameters supplied to create a WCFRelays.

func (WCFRelaysClient) CreateOrUpdateAuthorizationRule Uses

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

CreateOrUpdateAuthorizationRule creates or Updates an authorization rule for a WCFRelays Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name authorizationRuleName - the authorizationRule name. parameters - the authorization rule parameters.

func (WCFRelaysClient) CreateOrUpdateAuthorizationRulePreparer Uses

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

CreateOrUpdateAuthorizationRulePreparer prepares the CreateOrUpdateAuthorizationRule request.

func (WCFRelaysClient) CreateOrUpdateAuthorizationRuleResponder Uses

func (client WCFRelaysClient) 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 (WCFRelaysClient) CreateOrUpdateAuthorizationRuleSender Uses

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

func (client WCFRelaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, relayName string, parameters WcfRelay) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WCFRelaysClient) CreateOrUpdateResponder Uses

func (client WCFRelaysClient) CreateOrUpdateResponder(resp *http.Response) (result WcfRelay, err error)

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

func (WCFRelaysClient) CreateOrUpdateSender Uses

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

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

Delete deletes a WCFRelays . Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name

func (WCFRelaysClient) DeleteAuthorizationRule Uses

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

DeleteAuthorizationRule deletes a WCFRelays authorization rule Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name authorizationRuleName - the authorizationRule name.

func (WCFRelaysClient) DeleteAuthorizationRulePreparer Uses

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

DeleteAuthorizationRulePreparer prepares the DeleteAuthorizationRule request.

func (WCFRelaysClient) DeleteAuthorizationRuleResponder Uses

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

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

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

DeletePreparer prepares the Delete request.

func (WCFRelaysClient) DeleteResponder Uses

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

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

func (client WCFRelaysClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, relayName string) (result WcfRelay, err error)

Get returns the description for the specified WCFRelays. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name

func (WCFRelaysClient) GetAuthorizationRule Uses

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

GetAuthorizationRule get authorizationRule for a WCFRelays by name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name authorizationRuleName - the authorizationRule name.

func (WCFRelaysClient) GetAuthorizationRulePreparer Uses

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

GetAuthorizationRulePreparer prepares the GetAuthorizationRule request.

func (WCFRelaysClient) GetAuthorizationRuleResponder Uses

func (client WCFRelaysClient) 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 (WCFRelaysClient) GetAuthorizationRuleSender Uses

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

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

GetPreparer prepares the Get request.

func (WCFRelaysClient) GetResponder Uses

func (client WCFRelaysClient) GetResponder(resp *http.Response) (result WcfRelay, err error)

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

func (WCFRelaysClient) GetSender Uses

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

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

ListAuthorizationRules authorization rules for a WCFRelays. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name

func (WCFRelaysClient) ListAuthorizationRulesComplete Uses

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

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

func (WCFRelaysClient) ListAuthorizationRulesPreparer Uses

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

ListAuthorizationRulesPreparer prepares the ListAuthorizationRules request.

func (WCFRelaysClient) ListAuthorizationRulesResponder Uses

func (client WCFRelaysClient) 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 (WCFRelaysClient) ListAuthorizationRulesSender Uses

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

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

ListByNamespace lists the WCFRelays within the namespace. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name

func (WCFRelaysClient) ListByNamespaceComplete Uses

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

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

func (WCFRelaysClient) ListByNamespacePreparer Uses

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

ListByNamespacePreparer prepares the ListByNamespace request.

func (WCFRelaysClient) ListByNamespaceResponder Uses

func (client WCFRelaysClient) ListByNamespaceResponder(resp *http.Response) (result WcfRelaysListResult, err error)

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

func (WCFRelaysClient) ListByNamespaceSender Uses

func (client WCFRelaysClient) 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 (WCFRelaysClient) ListKeys Uses

func (client WCFRelaysClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string) (result AuthorizationRuleKeys, err error)

ListKeys primary and Secondary ConnectionStrings to the WCFRelays. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name authorizationRuleName - the authorizationRule name.

func (WCFRelaysClient) ListKeysPreparer Uses

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

ListKeysPreparer prepares the ListKeys request.

func (WCFRelaysClient) ListKeysResponder Uses

func (client WCFRelaysClient) ListKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)

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

func (WCFRelaysClient) ListKeysSender Uses

func (client WCFRelaysClient) 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 (WCFRelaysClient) ListPostAuthorizationRules Uses

func (client WCFRelaysClient) ListPostAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, relayName string) (result AuthorizationRuleListResultPage, err error)

ListPostAuthorizationRules authorization rules for a WCFRelays. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name

func (WCFRelaysClient) ListPostAuthorizationRulesComplete Uses

func (client WCFRelaysClient) ListPostAuthorizationRulesComplete(ctx context.Context, resourceGroupName string, namespaceName string, relayName string) (result AuthorizationRuleListResultIterator, err error)

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

func (WCFRelaysClient) ListPostAuthorizationRulesPreparer Uses

func (client WCFRelaysClient) ListPostAuthorizationRulesPreparer(ctx context.Context, resourceGroupName string, namespaceName string, relayName string) (*http.Request, error)

ListPostAuthorizationRulesPreparer prepares the ListPostAuthorizationRules request.

func (WCFRelaysClient) ListPostAuthorizationRulesResponder Uses

func (client WCFRelaysClient) ListPostAuthorizationRulesResponder(resp *http.Response) (result AuthorizationRuleListResult, err error)

ListPostAuthorizationRulesResponder handles the response to the ListPostAuthorizationRules request. The method always closes the http.Response Body.

func (WCFRelaysClient) ListPostAuthorizationRulesSender Uses

func (client WCFRelaysClient) ListPostAuthorizationRulesSender(req *http.Request) (*http.Response, error)

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

func (WCFRelaysClient) PostAuthorizationRule Uses

func (client WCFRelaysClient) PostAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string) (result AuthorizationRule, err error)

PostAuthorizationRule get authorizationRule for a WCFRelays by name. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name authorizationRuleName - the authorizationRule name.

func (WCFRelaysClient) PostAuthorizationRulePreparer Uses

func (client WCFRelaysClient) PostAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string) (*http.Request, error)

PostAuthorizationRulePreparer prepares the PostAuthorizationRule request.

func (WCFRelaysClient) PostAuthorizationRuleResponder Uses

func (client WCFRelaysClient) PostAuthorizationRuleResponder(resp *http.Response) (result AuthorizationRule, err error)

PostAuthorizationRuleResponder handles the response to the PostAuthorizationRule request. The method always closes the http.Response Body.

func (WCFRelaysClient) PostAuthorizationRuleSender Uses

func (client WCFRelaysClient) PostAuthorizationRuleSender(req *http.Request) (*http.Response, error)

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

func (WCFRelaysClient) RegenerateKeys Uses

func (client WCFRelaysClient) RegenerateKeys(ctx context.Context, resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string, parameters RegenerateKeysParameters) (result AuthorizationRuleKeys, err error)

RegenerateKeys regenerates the Primary or Secondary ConnectionStrings to the WCFRelays Parameters: resourceGroupName - name of the Resource group within the Azure subscription. namespaceName - the Namespace Name relayName - the relay name authorizationRuleName - the authorizationRule name. parameters - parameters supplied to regenerate Auth Rule.

func (WCFRelaysClient) RegenerateKeysPreparer Uses

func (client WCFRelaysClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, namespaceName string, relayName string, authorizationRuleName string, parameters RegenerateKeysParameters) (*http.Request, error)

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (WCFRelaysClient) RegenerateKeysResponder Uses

func (client WCFRelaysClient) RegenerateKeysResponder(resp *http.Response) (result AuthorizationRuleKeys, err error)

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

func (WCFRelaysClient) RegenerateKeysSender Uses

func (client WCFRelaysClient) 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 WcfRelay Uses

type WcfRelay struct {
    autorest.Response `json:"-"`
    // WcfRelayProperties - Properties of WcfRelay
    *WcfRelayProperties `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"`
}

WcfRelay description of WcfRelays Resource.

func (WcfRelay) MarshalJSON Uses

func (wr WcfRelay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WcfRelay.

func (*WcfRelay) UnmarshalJSON Uses

func (wr *WcfRelay) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WcfRelay struct.

type WcfRelayProperties Uses

type WcfRelayProperties struct {
    // RelayType - WCFRelay Type. Possible values include: 'NetTCP', 'HTTP'
    RelayType RelaytypeEnum `json:"relayType,omitempty"`
    // CreatedAt - READ-ONLY; The time the WCFRelay was created.
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // UpdatedAt - READ-ONLY; The time the namespace was updated.
    UpdatedAt *date.Time `json:"updatedAt,omitempty"`
    // ListenerCount - READ-ONLY; The number of listeners for this relay. min : 1 and max:25 supported
    ListenerCount *int32 `json:"listenerCount,omitempty"`
    // RequiresClientAuthorization - true if client authorization is needed for this relay; otherwise, false.
    RequiresClientAuthorization *bool `json:"requiresClientAuthorization,omitempty"`
    // RequiresTransportSecurity - true if transport security is needed for this relay; otherwise, false.
    RequiresTransportSecurity *bool `json:"requiresTransportSecurity,omitempty"`
    // IsDynamic - READ-ONLY; true if the relay is dynamic; otherwise, false.
    IsDynamic *bool `json:"isDynamic,omitempty"`
    // UserMetadata - usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.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"`
}

WcfRelayProperties properties of the WcfRelay Properties.

type WcfRelaysListResult Uses

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

WcfRelaysListResult the response of the List WcfRelays operation.

func (WcfRelaysListResult) IsEmpty Uses

func (wrlr WcfRelaysListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WcfRelaysListResultIterator Uses

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

WcfRelaysListResultIterator provides access to a complete listing of WcfRelay values.

func NewWcfRelaysListResultIterator Uses

func NewWcfRelaysListResultIterator(page WcfRelaysListResultPage) WcfRelaysListResultIterator

Creates a new instance of the WcfRelaysListResultIterator type.

func (*WcfRelaysListResultIterator) Next Uses

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

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

func (iter WcfRelaysListResultIterator) NotDone() bool

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

func (WcfRelaysListResultIterator) Response Uses

func (iter WcfRelaysListResultIterator) Response() WcfRelaysListResult

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

func (WcfRelaysListResultIterator) Value Uses

func (iter WcfRelaysListResultIterator) Value() WcfRelay

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

type WcfRelaysListResultPage Uses

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

WcfRelaysListResultPage contains a page of WcfRelay values.

func NewWcfRelaysListResultPage Uses

func NewWcfRelaysListResultPage(getNextPage func(context.Context, WcfRelaysListResult) (WcfRelaysListResult, error)) WcfRelaysListResultPage

Creates a new instance of the WcfRelaysListResultPage type.

func (*WcfRelaysListResultPage) Next Uses

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

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

func (page WcfRelaysListResultPage) NotDone() bool

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

func (WcfRelaysListResultPage) Response Uses

func (page WcfRelaysListResultPage) Response() WcfRelaysListResult

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

func (WcfRelaysListResultPage) Values Uses

func (page WcfRelaysListResultPage) Values() []WcfRelay

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

Directories

PathSynopsis
relayapi

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