Documentation ¶
Index ¶
- func PossibleValuesForAccessRights() []string
- func PossibleValuesForNamespaceType() []string
- func PossibleValuesForSkuName() []string
- func ValidateAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type AccessRights
- type AuthorizationRuleId
- type CheckAvailabilityOperationResponse
- type CheckAvailabilityParameters
- type CheckAvailabilityResult
- type CreateOrUpdateAuthorizationRuleOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteAuthorizationRuleOperationResponse
- type DeleteOperationResponse
- type GetAuthorizationRuleOperationResponse
- type GetOperationResponse
- type ListAllCompleteResult
- type ListAllOperationResponse
- type ListAuthorizationRulesCompleteResult
- type ListAuthorizationRulesOperationResponse
- type ListCompleteResult
- type ListKeysOperationResponse
- type ListOperationResponse
- type NamespaceCreateOrUpdateParameters
- type NamespaceId
- type NamespacePatchParameters
- type NamespaceProperties
- type NamespaceResource
- type NamespaceResourceOperationPredicate
- type NamespaceType
- type NamespacesClient
- func (c NamespacesClient) CheckAvailability(ctx context.Context, id commonids.SubscriptionId, ...) (result CheckAvailabilityOperationResponse, err error)
- func (c NamespacesClient) CreateOrUpdate(ctx context.Context, id NamespaceId, input NamespaceCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
- func (c NamespacesClient) CreateOrUpdateAuthorizationRule(ctx context.Context, id AuthorizationRuleId, ...) (result CreateOrUpdateAuthorizationRuleOperationResponse, err error)
- func (c NamespacesClient) Delete(ctx context.Context, id NamespaceId) (result DeleteOperationResponse, err error)
- func (c NamespacesClient) DeleteAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result DeleteAuthorizationRuleOperationResponse, err error)
- func (c NamespacesClient) DeleteThenPoll(ctx context.Context, id NamespaceId) error
- func (c NamespacesClient) Get(ctx context.Context, id NamespaceId) (result GetOperationResponse, err error)
- func (c NamespacesClient) GetAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result GetAuthorizationRuleOperationResponse, err error)
- func (c NamespacesClient) List(ctx context.Context, id commonids.ResourceGroupId) (resp ListOperationResponse, err error)
- func (c NamespacesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (resp ListAllOperationResponse, err error)
- func (c NamespacesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
- func (c NamespacesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListAllCompleteResult, err error)
- func (c NamespacesClient) ListAuthorizationRules(ctx context.Context, id NamespaceId) (resp ListAuthorizationRulesOperationResponse, err error)
- func (c NamespacesClient) ListAuthorizationRulesComplete(ctx context.Context, id NamespaceId) (ListAuthorizationRulesCompleteResult, error)
- func (c NamespacesClient) ListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id NamespaceId, ...) (resp ListAuthorizationRulesCompleteResult, err error)
- func (c NamespacesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c NamespacesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListCompleteResult, err error)
- func (c NamespacesClient) ListKeys(ctx context.Context, id AuthorizationRuleId) (result ListKeysOperationResponse, err error)
- func (c NamespacesClient) Patch(ctx context.Context, id NamespaceId, input NamespacePatchParameters) (result PatchOperationResponse, err error)
- func (c NamespacesClient) RegenerateKeys(ctx context.Context, id AuthorizationRuleId, input PolicykeyResource) (result RegenerateKeysOperationResponse, err error)
- type PatchOperationResponse
- type PolicykeyResource
- type RegenerateKeysOperationResponse
- type ResourceListKeys
- type SharedAccessAuthorizationRuleCreateOrUpdateParameters
- type SharedAccessAuthorizationRuleProperties
- type SharedAccessAuthorizationRuleResource
- type SharedAccessAuthorizationRuleResourceOperationPredicate
- type Sku
- type SkuName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRights ¶
func PossibleValuesForAccessRights() []string
func PossibleValuesForNamespaceType ¶
func PossibleValuesForNamespaceType() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []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
Types ¶
type AccessRights ¶
type AccessRights string
const ( AccessRightsListen AccessRights = "Listen" AccessRightsManage AccessRights = "Manage" AccessRightsSend AccessRights = "Send" )
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 CheckAvailabilityOperationResponse ¶
type CheckAvailabilityOperationResponse struct { HttpResponse *http.Response Model *CheckAvailabilityResult }
type CheckAvailabilityParameters ¶
type CheckAvailabilityParameters struct { Id *string `json:"id,omitempty"` IsAvailiable *bool `json:"isAvailiable,omitempty"` Location *string `json:"location,omitempty"` Name string `json:"name"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CheckAvailabilityResult ¶
type CheckAvailabilityResult struct { Id *string `json:"id,omitempty"` IsAvailiable *bool `json:"isAvailiable,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CreateOrUpdateAuthorizationRuleOperationResponse ¶
type CreateOrUpdateAuthorizationRuleOperationResponse struct { HttpResponse *http.Response Model *SharedAccessAuthorizationRuleResource }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *NamespaceResource }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetAuthorizationRuleOperationResponse ¶
type GetAuthorizationRuleOperationResponse struct { HttpResponse *http.Response Model *SharedAccessAuthorizationRuleResource }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *NamespaceResource }
type ListAllCompleteResult ¶
type ListAllCompleteResult struct {
Items []NamespaceResource
}
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response Model *[]NamespaceResource // contains filtered or unexported fields }
func (ListAllOperationResponse) HasMore ¶
func (r ListAllOperationResponse) HasMore() bool
func (ListAllOperationResponse) LoadMore ¶
func (r ListAllOperationResponse) LoadMore(ctx context.Context) (resp ListAllOperationResponse, err error)
type ListAuthorizationRulesCompleteResult ¶
type ListAuthorizationRulesCompleteResult struct {
Items []SharedAccessAuthorizationRuleResource
}
type ListAuthorizationRulesOperationResponse ¶
type ListAuthorizationRulesOperationResponse struct { HttpResponse *http.Response Model *[]SharedAccessAuthorizationRuleResource // contains filtered or unexported fields }
func (ListAuthorizationRulesOperationResponse) HasMore ¶
func (r ListAuthorizationRulesOperationResponse) HasMore() bool
func (ListAuthorizationRulesOperationResponse) LoadMore ¶
func (r ListAuthorizationRulesOperationResponse) LoadMore(ctx context.Context) (resp ListAuthorizationRulesOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []NamespaceResource
}
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response Model *ResourceListKeys }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]NamespaceResource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type NamespaceCreateOrUpdateParameters ¶
type NamespaceCreateOrUpdateParameters struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *NamespaceProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
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 NamespaceProperties ¶
type NamespaceProperties struct { CreatedAt *string `json:"createdAt,omitempty"` Critical *bool `json:"critical,omitempty"` DataCenter *string `json:"dataCenter,omitempty"` Enabled *bool `json:"enabled,omitempty"` MetricId *string `json:"metricId,omitempty"` Name *string `json:"name,omitempty"` NamespaceType *NamespaceType `json:"namespaceType,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Region *string `json:"region,omitempty"` ScaleUnit *string `json:"scaleUnit,omitempty"` ServiceBusEndpoint *string `json:"serviceBusEndpoint,omitempty"` Status *string `json:"status,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` }
func (*NamespaceProperties) GetCreatedAtAsTime ¶
func (o *NamespaceProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*NamespaceProperties) GetUpdatedAtAsTime ¶
func (o *NamespaceProperties) GetUpdatedAtAsTime() (*time.Time, error)
func (*NamespaceProperties) SetCreatedAtAsTime ¶
func (o *NamespaceProperties) SetCreatedAtAsTime(input time.Time)
func (*NamespaceProperties) SetUpdatedAtAsTime ¶
func (o *NamespaceProperties) SetUpdatedAtAsTime(input time.Time)
type NamespaceResource ¶
type NamespaceResource struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *NamespaceProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type NamespaceResourceOperationPredicate ¶
type NamespaceResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (NamespaceResourceOperationPredicate) Matches ¶
func (p NamespaceResourceOperationPredicate) Matches(input NamespaceResource) bool
type NamespaceType ¶
type NamespaceType string
const ( NamespaceTypeMessaging NamespaceType = "Messaging" NamespaceTypeNotificationHub NamespaceType = "NotificationHub" )
type NamespacesClient ¶
func NewNamespacesClientWithBaseURI ¶
func NewNamespacesClientWithBaseURI(endpoint string) NamespacesClient
func (NamespacesClient) CheckAvailability ¶
func (c NamespacesClient) CheckAvailability(ctx context.Context, id commonids.SubscriptionId, input CheckAvailabilityParameters) (result CheckAvailabilityOperationResponse, err error)
CheckAvailability ...
func (NamespacesClient) CreateOrUpdate ¶
func (c NamespacesClient) CreateOrUpdate(ctx context.Context, id NamespaceId, input NamespaceCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NamespacesClient) CreateOrUpdateAuthorizationRule ¶
func (c NamespacesClient) CreateOrUpdateAuthorizationRule(ctx context.Context, id AuthorizationRuleId, input SharedAccessAuthorizationRuleCreateOrUpdateParameters) (result CreateOrUpdateAuthorizationRuleOperationResponse, err error)
CreateOrUpdateAuthorizationRule ...
func (NamespacesClient) Delete ¶
func (c NamespacesClient) Delete(ctx context.Context, id NamespaceId) (result DeleteOperationResponse, err error)
Delete ...
func (NamespacesClient) DeleteAuthorizationRule ¶
func (c NamespacesClient) DeleteAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result DeleteAuthorizationRuleOperationResponse, 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 GetOperationResponse, err error)
Get ...
func (NamespacesClient) GetAuthorizationRule ¶
func (c NamespacesClient) GetAuthorizationRule(ctx context.Context, id AuthorizationRuleId) (result GetAuthorizationRuleOperationResponse, err error)
GetAuthorizationRule ...
func (NamespacesClient) List ¶
func (c NamespacesClient) List(ctx context.Context, id commonids.ResourceGroupId) (resp ListOperationResponse, err error)
List ...
func (NamespacesClient) ListAll ¶
func (c NamespacesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (resp ListAllOperationResponse, err error)
ListAll ...
func (NamespacesClient) ListAllComplete ¶
func (c NamespacesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
ListAllComplete retrieves all of the results into a single object
func (NamespacesClient) ListAllCompleteMatchingPredicate ¶
func (c NamespacesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate NamespaceResourceOperationPredicate) (resp ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (NamespacesClient) ListAuthorizationRules ¶
func (c NamespacesClient) ListAuthorizationRules(ctx context.Context, id NamespaceId) (resp ListAuthorizationRulesOperationResponse, 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 SharedAccessAuthorizationRuleResourceOperationPredicate) (resp ListAuthorizationRulesCompleteResult, err error)
ListAuthorizationRulesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (NamespacesClient) ListComplete ¶
func (c NamespacesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (NamespacesClient) ListCompleteMatchingPredicate ¶
func (c NamespacesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate NamespaceResourceOperationPredicate) (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 ListKeysOperationResponse, err error)
ListKeys ...
func (NamespacesClient) Patch ¶
func (c NamespacesClient) Patch(ctx context.Context, id NamespaceId, input NamespacePatchParameters) (result PatchOperationResponse, err error)
Patch ...
func (NamespacesClient) RegenerateKeys ¶
func (c NamespacesClient) RegenerateKeys(ctx context.Context, id AuthorizationRuleId, input PolicykeyResource) (result RegenerateKeysOperationResponse, err error)
RegenerateKeys ...
type PatchOperationResponse ¶
type PatchOperationResponse struct { HttpResponse *http.Response Model *NamespaceResource }
type PolicykeyResource ¶
type PolicykeyResource struct {
PolicyKey *string `json:"policyKey,omitempty"`
}
type RegenerateKeysOperationResponse ¶
type RegenerateKeysOperationResponse struct { HttpResponse *http.Response Model *ResourceListKeys }
type ResourceListKeys ¶
type ResourceListKeys 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 SharedAccessAuthorizationRuleCreateOrUpdateParameters ¶
type SharedAccessAuthorizationRuleCreateOrUpdateParameters struct {
}type SharedAccessAuthorizationRuleProperties ¶
type SharedAccessAuthorizationRuleProperties struct {}
type SharedAccessAuthorizationRuleResource ¶
type SharedAccessAuthorizationRuleResource struct {}
type SharedAccessAuthorizationRuleResourceOperationPredicate ¶
type SharedAccessAuthorizationRuleResourceOperationPredicate struct {}
func (SharedAccessAuthorizationRuleResourceOperationPredicate) Matches ¶
func (p SharedAccessAuthorizationRuleResourceOperationPredicate) Matches(input SharedAccessAuthorizationRuleResource) bool
Source Files ¶
- client.go
- constants.go
- id_authorizationrule.go
- id_namespace.go
- method_checkavailability_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_listall_autorest.go
- method_listauthorizationrules_autorest.go
- method_listkeys_autorest.go
- method_patch_autorest.go
- method_regeneratekeys_autorest.go
- model_checkavailabilityparameters.go
- model_checkavailabilityresult.go
- model_namespacecreateorupdateparameters.go
- model_namespacepatchparameters.go
- model_namespaceproperties.go
- model_namespaceresource.go
- model_policykeyresource.go
- model_resourcelistkeys.go
- model_sharedaccessauthorizationrulecreateorupdateparameters.go
- model_sharedaccessauthorizationruleproperties.go
- model_sharedaccessauthorizationruleresource.go
- model_sku.go
- predicates.go
- version.go