Documentation ¶
Index ¶
- func PossibleValuesForAccessRights() []string
- func PossibleValuesForKeyType() []string
- func PossibleValuesForProvisioningStateEnum() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- func PossibleValuesForUnavailableReason() []string
- func ValidateAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type AccessKeys
- type AccessRights
- type AuthorizationRule
- type AuthorizationRuleId
- type AuthorizationRulePredicate
- type AuthorizationRuleProperties
- type CheckNameAvailability
- type CheckNameAvailabilityResponse
- type CheckNameAvailabilityResult
- type CreateOrUpdateAuthorizationRuleResponse
- type CreateOrUpdateResponse
- type DeleteAuthorizationRuleResponse
- type DeleteResponse
- type GetAuthorizationRuleResponse
- type GetResponse
- type KeyType
- type ListAuthorizationRulesCompleteResult
- type ListAuthorizationRulesResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupResponse
- type ListCompleteResult
- type ListKeysResponse
- type ListResponse
- type NamespaceId
- type NamespacesClient
- func (c NamespacesClient) CheckNameAvailability(ctx context.Context, id SubscriptionId, input CheckNameAvailability) (result CheckNameAvailabilityResponse, err error)
- func (c NamespacesClient) CreateOrUpdate(ctx context.Context, id NamespaceId, input RelayNamespace) (result CreateOrUpdateResponse, err error)
- func (c NamespacesClient) CreateOrUpdateAuthorizationRule(ctx context.Context, id AuthorizationRuleId, input AuthorizationRule) (result CreateOrUpdateAuthorizationRuleResponse, err error)
- func (c NamespacesClient) CreateOrUpdateThenPoll(ctx context.Context, id NamespaceId, input RelayNamespace) error
- func (c NamespacesClient) Delete(ctx context.Context, id NamespaceId) (result DeleteResponse, err error)
- func (c NamespacesClient) DeleteAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result DeleteAuthorizationRuleResponse, err error)
- func (c NamespacesClient) DeleteThenPoll(ctx context.Context, id NamespaceId) error
- func (c NamespacesClient) Get(ctx context.Context, id NamespaceId) (result GetResponse, err error)
- func (c NamespacesClient) GetAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result GetAuthorizationRuleResponse, err error)
- func (c NamespacesClient) List(ctx context.Context, id SubscriptionId) (resp ListResponse, err error)
- func (c NamespacesClient) ListAuthorizationRules(ctx context.Context, id NamespaceId) (resp ListAuthorizationRulesResponse, err error)
- func (c NamespacesClient) ListAuthorizationRulesComplete(ctx context.Context, id NamespaceId) (ListAuthorizationRulesCompleteResult, error)
- func (c NamespacesClient) ListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate AuthorizationRulePredicate) (resp ListAuthorizationRulesCompleteResult, err error)
- func (c NamespacesClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
- func (c NamespacesClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c NamespacesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate RelayNamespacePredicate) (resp ListByResourceGroupCompleteResult, err error)
- func (c NamespacesClient) ListComplete(ctx context.Context, id SubscriptionId) (ListCompleteResult, error)
- func (c NamespacesClient) ListCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate RelayNamespacePredicate) (resp ListCompleteResult, err error)
- func (c NamespacesClient) ListKeys(ctx context.Context, id AuthorizationRuleId) (result ListKeysResponse, err error)
- func (c NamespacesClient) RegenerateKeys(ctx context.Context, id AuthorizationRuleId, ...) (result RegenerateKeysResponse, err error)
- func (c NamespacesClient) Update(ctx context.Context, id NamespaceId, input RelayUpdateParameters) (result UpdateResponse, err error)
- type ProvisioningStateEnum
- type RegenerateAccessKeyParameters
- type RegenerateKeysResponse
- type RelayNamespace
- type RelayNamespacePredicate
- type RelayNamespaceProperties
- type RelayUpdateParameters
- type ResourceGroupId
- type Sku
- type SkuName
- type SkuTier
- type SubscriptionId
- type UnavailableReason
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRights ¶
func PossibleValuesForAccessRights() []string
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func PossibleValuesForProvisioningStateEnum ¶
func PossibleValuesForProvisioningStateEnum() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func PossibleValuesForUnavailableReason ¶
func PossibleValuesForUnavailableReason() []string
func ValidateAuthorizationRuleID ¶
ValidateAuthorizationRuleID checks that 'input' can be parsed as a Authorization Rule ID
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
func ValidateResourceGroupID ¶
ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID
func ValidateSubscriptionID ¶
ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID
Types ¶
type AccessKeys ¶
type AccessKeys struct { KeyName *string `json:"keyName,omitempty"` PrimaryConnectionString *string `json:"primaryConnectionString,omitempty"` PrimaryKey *string `json:"primaryKey,omitempty"` SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty"` SecondaryKey *string `json:"secondaryKey,omitempty"` }
type AccessRights ¶
type AccessRights string
const ( AccessRightsListen AccessRights = "Listen" AccessRightsManage AccessRights = "Manage" AccessRightsSend AccessRights = "Send" )
type AuthorizationRule ¶
type AuthorizationRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AuthorizationRuleProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type AuthorizationRuleId ¶
type AuthorizationRuleId struct { SubscriptionId string ResourceGroupName string NamespaceName string AuthorizationRuleName string }
AuthorizationRuleId is a struct representing the Resource ID for a Authorization Rule
func NewAuthorizationRuleID ¶
func NewAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, authorizationRuleName string) AuthorizationRuleId
NewAuthorizationRuleID returns a new AuthorizationRuleId struct
func ParseAuthorizationRuleID ¶
func ParseAuthorizationRuleID(input string) (*AuthorizationRuleId, error)
ParseAuthorizationRuleID parses 'input' into a AuthorizationRuleId
func ParseAuthorizationRuleIDInsensitively ¶
func ParseAuthorizationRuleIDInsensitively(input string) (*AuthorizationRuleId, error)
ParseAuthorizationRuleIDInsensitively parses 'input' case-insensitively into a AuthorizationRuleId note: this method should only be used for API response data and not user input
func (AuthorizationRuleId) ID ¶
func (id AuthorizationRuleId) ID() string
ID returns the formatted Authorization Rule ID
func (AuthorizationRuleId) Segments ¶
func (id AuthorizationRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Authorization Rule ID
func (AuthorizationRuleId) String ¶
func (id AuthorizationRuleId) String() string
String returns a human-readable description of this Authorization Rule ID
type AuthorizationRulePredicate ¶
func (AuthorizationRulePredicate) Matches ¶
func (p AuthorizationRulePredicate) Matches(input AuthorizationRule) bool
type AuthorizationRuleProperties ¶
type AuthorizationRuleProperties struct {
Rights []AccessRights `json:"rights"`
}
type CheckNameAvailability ¶
type CheckNameAvailability struct {
Name string `json:"name"`
}
type CheckNameAvailabilityResponse ¶
type CheckNameAvailabilityResponse struct { HttpResponse *http.Response Model *CheckNameAvailabilityResult }
type CheckNameAvailabilityResult ¶
type CheckNameAvailabilityResult struct { Message *string `json:"message,omitempty"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason *UnavailableReason `json:"reason,omitempty"` }
type CreateOrUpdateAuthorizationRuleResponse ¶
type CreateOrUpdateAuthorizationRuleResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type CreateOrUpdateResponse ¶
type CreateOrUpdateResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteResponse ¶
type DeleteResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetAuthorizationRuleResponse ¶
type GetAuthorizationRuleResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type GetResponse ¶
type GetResponse struct { HttpResponse *http.Response Model *RelayNamespace }
type ListAuthorizationRulesCompleteResult ¶
type ListAuthorizationRulesCompleteResult struct {
Items []AuthorizationRule
}
type ListAuthorizationRulesResponse ¶
type ListAuthorizationRulesResponse struct { HttpResponse *http.Response Model *[]AuthorizationRule // contains filtered or unexported fields }
func (ListAuthorizationRulesResponse) HasMore ¶
func (r ListAuthorizationRulesResponse) HasMore() bool
func (ListAuthorizationRulesResponse) LoadMore ¶
func (r ListAuthorizationRulesResponse) LoadMore(ctx context.Context) (resp ListAuthorizationRulesResponse, err error)
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []RelayNamespace
}
type ListByResourceGroupResponse ¶
type ListByResourceGroupResponse struct { HttpResponse *http.Response Model *[]RelayNamespace // contains filtered or unexported fields }
func (ListByResourceGroupResponse) HasMore ¶
func (r ListByResourceGroupResponse) HasMore() bool
func (ListByResourceGroupResponse) LoadMore ¶
func (r ListByResourceGroupResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []RelayNamespace
}
type ListKeysResponse ¶
type ListKeysResponse struct { HttpResponse *http.Response Model *AccessKeys }
type ListResponse ¶
type ListResponse struct { HttpResponse *http.Response Model *[]RelayNamespace // contains filtered or unexported fields }
func (ListResponse) HasMore ¶
func (r ListResponse) HasMore() bool
func (ListResponse) LoadMore ¶
func (r ListResponse) LoadMore(ctx context.Context) (resp ListResponse, err error)
type NamespaceId ¶
NamespaceId is a struct representing the Resource ID for a Namespace
func NewNamespaceID ¶
func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId
NewNamespaceID returns a new NamespaceId struct
func ParseNamespaceID ¶
func ParseNamespaceID(input string) (*NamespaceId, error)
ParseNamespaceID parses 'input' into a NamespaceId
func ParseNamespaceIDInsensitively ¶
func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)
ParseNamespaceIDInsensitively parses 'input' case-insensitively into a NamespaceId note: this method should only be used for API response data and not user input
func (NamespaceId) Segments ¶
func (id NamespaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Namespace ID
func (NamespaceId) String ¶
func (id NamespaceId) String() string
String returns a human-readable description of this Namespace ID
type NamespacesClient ¶
func NewNamespacesClientWithBaseURI ¶
func NewNamespacesClientWithBaseURI(endpoint string) NamespacesClient
func (NamespacesClient) CheckNameAvailability ¶
func (c NamespacesClient) CheckNameAvailability(ctx context.Context, id SubscriptionId, input CheckNameAvailability) (result CheckNameAvailabilityResponse, err error)
CheckNameAvailability ...
func (NamespacesClient) CreateOrUpdate ¶
func (c NamespacesClient) CreateOrUpdate(ctx context.Context, id NamespaceId, input RelayNamespace) (result CreateOrUpdateResponse, err error)
CreateOrUpdate ...
func (NamespacesClient) CreateOrUpdateAuthorizationRule ¶
func (c NamespacesClient) CreateOrUpdateAuthorizationRule(ctx context.Context, id AuthorizationRuleId, input AuthorizationRule) (result CreateOrUpdateAuthorizationRuleResponse, err error)
CreateOrUpdateAuthorizationRule ...
func (NamespacesClient) CreateOrUpdateThenPoll ¶
func (c NamespacesClient) CreateOrUpdateThenPoll(ctx context.Context, id NamespaceId, input RelayNamespace) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (NamespacesClient) Delete ¶
func (c NamespacesClient) Delete(ctx context.Context, id NamespaceId) (result DeleteResponse, err error)
Delete ...
func (NamespacesClient) DeleteAuthorizationRule ¶
func (c NamespacesClient) DeleteAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result DeleteAuthorizationRuleResponse, err error)
DeleteAuthorizationRule ...
func (NamespacesClient) DeleteThenPoll ¶
func (c NamespacesClient) DeleteThenPoll(ctx context.Context, id NamespaceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (NamespacesClient) Get ¶
func (c NamespacesClient) Get(ctx context.Context, id NamespaceId) (result GetResponse, err error)
Get ...
func (NamespacesClient) GetAuthorizationRule ¶
func (c NamespacesClient) GetAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result GetAuthorizationRuleResponse, err error)
GetAuthorizationRule ...
func (NamespacesClient) List ¶
func (c NamespacesClient) List(ctx context.Context, id SubscriptionId) (resp ListResponse, err error)
List ...
func (NamespacesClient) ListAuthorizationRules ¶
func (c NamespacesClient) ListAuthorizationRules(ctx context.Context, id NamespaceId) (resp ListAuthorizationRulesResponse, err error)
ListAuthorizationRules ...
func (NamespacesClient) ListAuthorizationRulesComplete ¶
func (c NamespacesClient) ListAuthorizationRulesComplete(ctx context.Context, id NamespaceId) (ListAuthorizationRulesCompleteResult, error)
ListAuthorizationRulesComplete retrieves all of the results into a single object
func (NamespacesClient) ListAuthorizationRulesCompleteMatchingPredicate ¶
func (c NamespacesClient) ListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate AuthorizationRulePredicate) (resp ListAuthorizationRulesCompleteResult, err error)
ListAuthorizationRulesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (NamespacesClient) ListByResourceGroup ¶
func (c NamespacesClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
ListByResourceGroup ...
func (NamespacesClient) ListByResourceGroupComplete ¶
func (c NamespacesClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (NamespacesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c NamespacesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate RelayNamespacePredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (NamespacesClient) ListComplete ¶
func (c NamespacesClient) ListComplete(ctx context.Context, id SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (NamespacesClient) ListCompleteMatchingPredicate ¶
func (c NamespacesClient) ListCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate RelayNamespacePredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (NamespacesClient) ListKeys ¶
func (c NamespacesClient) ListKeys(ctx context.Context, id AuthorizationRuleId) (result ListKeysResponse, err error)
ListKeys ...
func (NamespacesClient) RegenerateKeys ¶
func (c NamespacesClient) RegenerateKeys(ctx context.Context, id AuthorizationRuleId, input RegenerateAccessKeyParameters) (result RegenerateKeysResponse, err error)
RegenerateKeys ...
func (NamespacesClient) Update ¶
func (c NamespacesClient) Update(ctx context.Context, id NamespaceId, input RelayUpdateParameters) (result UpdateResponse, err error)
Update ...
type ProvisioningStateEnum ¶
type ProvisioningStateEnum string
const ( ProvisioningStateEnumCreated ProvisioningStateEnum = "Created" ProvisioningStateEnumDeleted ProvisioningStateEnum = "Deleted" ProvisioningStateEnumFailed ProvisioningStateEnum = "Failed" ProvisioningStateEnumSucceeded ProvisioningStateEnum = "Succeeded" ProvisioningStateEnumUnknown ProvisioningStateEnum = "Unknown" ProvisioningStateEnumUpdating ProvisioningStateEnum = "Updating" )
type RegenerateKeysResponse ¶
type RegenerateKeysResponse struct { HttpResponse *http.Response Model *AccessKeys }
type RelayNamespace ¶
type RelayNamespace struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *RelayNamespaceProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type RelayNamespacePredicate ¶
func (RelayNamespacePredicate) Matches ¶
func (p RelayNamespacePredicate) Matches(input RelayNamespace) bool
type RelayNamespaceProperties ¶
type RelayNamespaceProperties struct { CreatedAt *string `json:"createdAt,omitempty"` MetricId *string `json:"metricId,omitempty"` ProvisioningState *ProvisioningStateEnum `json:"provisioningState,omitempty"` ServiceBusEndpoint *string `json:"serviceBusEndpoint,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` }
type RelayUpdateParameters ¶
type ResourceGroupId ¶
ResourceGroupId is a struct representing the Resource ID for a Resource Group
func NewResourceGroupID ¶
func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId
NewResourceGroupID returns a new ResourceGroupId struct
func ParseResourceGroupID ¶
func ParseResourceGroupID(input string) (*ResourceGroupId, error)
ParseResourceGroupID parses 'input' into a ResourceGroupId
func ParseResourceGroupIDInsensitively ¶
func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)
ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input
func (ResourceGroupId) ID ¶
func (id ResourceGroupId) ID() string
ID returns the formatted Resource Group ID
func (ResourceGroupId) Segments ¶
func (id ResourceGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Group ID
func (ResourceGroupId) String ¶
func (id ResourceGroupId) String() string
String returns a human-readable description of this Resource Group ID
type SubscriptionId ¶
type SubscriptionId struct {
SubscriptionId string
}
SubscriptionId is a struct representing the Resource ID for a Subscription
func NewSubscriptionID ¶
func NewSubscriptionID(subscriptionId string) SubscriptionId
NewSubscriptionID returns a new SubscriptionId struct
func ParseSubscriptionID ¶
func ParseSubscriptionID(input string) (*SubscriptionId, error)
ParseSubscriptionID parses 'input' into a SubscriptionId
func ParseSubscriptionIDInsensitively ¶
func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)
ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input
func (SubscriptionId) ID ¶
func (id SubscriptionId) ID() string
ID returns the formatted Subscription ID
func (SubscriptionId) Segments ¶
func (id SubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription ID
func (SubscriptionId) String ¶
func (id SubscriptionId) String() string
String returns a human-readable description of this Subscription ID
type UpdateResponse ¶
type UpdateResponse struct { HttpResponse *http.Response Model *RelayNamespace }
Source Files ¶
- client.go
- constants.go
- id_authorizationrule.go
- id_namespace.go
- id_resourcegroup.go
- id_subscription.go
- method_checknameavailability_autorest.go
- method_createorupdate_autorest.go
- method_createorupdateauthorizationrule_autorest.go
- method_delete_autorest.go
- method_deleteauthorizationrule_autorest.go
- method_get_autorest.go
- method_getauthorizationrule_autorest.go
- method_list_autorest.go
- method_listauthorizationrules_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listkeys_autorest.go
- method_regeneratekeys_autorest.go
- method_update_autorest.go
- model_accesskeys.go
- model_authorizationrule.go
- model_authorizationruleproperties.go
- model_checknameavailability.go
- model_checknameavailabilityresult.go
- model_regenerateaccesskeyparameters.go
- model_relaynamespace.go
- model_relaynamespaceproperties.go
- model_relayupdateparameters.go
- model_sku.go
- predicates.go
- version.go