Versions in this module Expand all Collapse all v51 v51.0.0 Jan 27, 2021 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type AccessRights string + const Listen + const Manage + const SendEnumValue + func PossibleAccessRightsValues() []AccessRights + type AdmCredential struct + func (ac *AdmCredential) UnmarshalJSON(body []byte) error + func (ac AdmCredential) MarshalJSON() ([]byte, error) + type AdmCredentialProperties struct + AuthTokenURL *string + ClientID *string + ClientSecret *string + type ApnsCredential struct + func (ac *ApnsCredential) UnmarshalJSON(body []byte) error + func (ac ApnsCredential) MarshalJSON() ([]byte, error) + type ApnsCredentialProperties struct + ApnsCertificate *string + CertificateKey *string + Endpoint *string + Thumbprint *string + type BaiduCredential struct + func (bc *BaiduCredential) UnmarshalJSON(body []byte) error + func (bc BaiduCredential) MarshalJSON() ([]byte, error) + type BaiduCredentialProperties struct + BaiduAPIKey *string + BaiduEndPoint *string + BaiduSecretKey *string + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type CheckAvailabilityParameters struct + ID *string + IsAvailiable *bool + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + func (capVar CheckAvailabilityParameters) MarshalJSON() ([]byte, error) + type CheckAvailabilityResult struct + ID *string + IsAvailiable *bool + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + func (car CheckAvailabilityResult) MarshalJSON() ([]byte, error) + type Client struct + func NewClient(subscriptionID string) Client + func NewClientWithBaseURI(baseURI string, subscriptionID string) Client + func (client Client) CheckAvailability(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result CheckAvailabilityResult, err error) + func (client Client) CheckAvailabilityPreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) CheckAvailabilityResponder(resp *http.Response) (result CheckAvailabilityResult, err error) + func (client Client) CheckAvailabilitySender(req *http.Request) (*http.Response, error) + func (client Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result ResourceType, err error) + func (client Client) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result SharedAccessAuthorizationRuleResource, err error) + func (client Client) CreateOrUpdateAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error) + func (client Client) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error) + func (client Client) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) CreateOrUpdateResponder(resp *http.Response) (result ResourceType, err error) + func (client Client) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client Client) Delete(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result autorest.Response, err error) + func (client Client) DeleteAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result autorest.Response, err error) + func (client Client) DeleteAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) DeleteAuthorizationRuleResponder(resp *http.Response) (result autorest.Response, err error) + func (client Client) DeleteAuthorizationRuleSender(req *http.Request) (*http.Response, error) + func (client Client) DeletePreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client Client) DeleteSender(req *http.Request) (*http.Response, error) + func (client Client) Get(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result ResourceType, err error) + func (client Client) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result SharedAccessAuthorizationRuleResource, err error) + func (client Client) GetAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) GetAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error) + func (client Client) GetAuthorizationRuleSender(req *http.Request) (*http.Response, error) + func (client Client) GetPnsCredentials(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result PnsCredentialsResource, err error) + func (client Client) GetPnsCredentialsPreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) GetPnsCredentialsResponder(resp *http.Response) (result PnsCredentialsResource, err error) + func (client Client) GetPnsCredentialsSender(req *http.Request) (*http.Response, error) + func (client Client) GetPreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) GetResponder(resp *http.Response) (result ResourceType, err error) + func (client Client) GetSender(req *http.Request) (*http.Response, error) + func (client Client) List(ctx context.Context, resourceGroupName string, namespaceName string) (result ListResultPage, err error) + func (client Client) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result SharedAccessAuthorizationRuleListResultPage, err error) + func (client Client) ListAuthorizationRulesComplete(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result SharedAccessAuthorizationRuleListResultIterator, err error) + func (client Client) ListAuthorizationRulesPreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) ListAuthorizationRulesResponder(resp *http.Response) (result SharedAccessAuthorizationRuleListResult, err error) + func (client Client) ListAuthorizationRulesSender(req *http.Request) (*http.Response, error) + func (client Client) ListComplete(ctx context.Context, resourceGroupName string, namespaceName string) (result ListResultIterator, err error) + func (client Client) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result ResourceListKeys, err error) + func (client Client) ListKeysPreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) ListKeysResponder(resp *http.Response) (result ResourceListKeys, err error) + func (client Client) ListKeysSender(req *http.Request) (*http.Response, error) + func (client Client) ListPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) + func (client Client) ListResponder(resp *http.Response) (result ListResult, err error) + func (client Client) ListSender(req *http.Request) (*http.Response, error) + func (client Client) RegenerateKeys(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result ResourceListKeys, err error) + func (client Client) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client Client) RegenerateKeysResponder(resp *http.Response) (result ResourceListKeys, err error) + func (client Client) RegenerateKeysSender(req *http.Request) (*http.Response, error) + type CreateOrUpdateParameters struct + ID *string + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + func (coup *CreateOrUpdateParameters) UnmarshalJSON(body []byte) error + func (coup CreateOrUpdateParameters) MarshalJSON() ([]byte, error) + type GcmCredential struct + func (gc *GcmCredential) UnmarshalJSON(body []byte) error + func (gc GcmCredential) MarshalJSON() ([]byte, error) + type GcmCredentialProperties struct + GcmEndpoint *string + GoogleAPIKey *string + type ListResult struct + NextLink *string + Value *[]ResourceType + func (lr ListResult) IsEmpty() bool + type ListResultIterator struct + func NewListResultIterator(page ListResultPage) ListResultIterator + func (iter *ListResultIterator) Next() error + func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ListResultIterator) NotDone() bool + func (iter ListResultIterator) Response() ListResult + func (iter ListResultIterator) Value() ResourceType + type ListResultPage struct + func NewListResultPage(cur ListResult, ...) ListResultPage + func (page *ListResultPage) Next() error + func (page *ListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ListResultPage) NotDone() bool + func (page ListResultPage) Response() ListResult + func (page ListResultPage) Values() []ResourceType + type MpnsCredential struct + func (mc *MpnsCredential) UnmarshalJSON(body []byte) error + func (mc MpnsCredential) MarshalJSON() ([]byte, error) + type MpnsCredentialProperties struct + CertificateKey *string + MpnsCertificate *string + Thumbprint *string + type NamespaceCreateOrUpdateParameters struct + ID *string + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + func (ncoup *NamespaceCreateOrUpdateParameters) UnmarshalJSON(body []byte) error + func (ncoup NamespaceCreateOrUpdateParameters) MarshalJSON() ([]byte, error) + type NamespaceListResult struct + NextLink *string + Value *[]NamespaceResource + func (nlr NamespaceListResult) IsEmpty() bool + type NamespaceListResultIterator struct + func NewNamespaceListResultIterator(page NamespaceListResultPage) NamespaceListResultIterator + func (iter *NamespaceListResultIterator) Next() error + func (iter *NamespaceListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter NamespaceListResultIterator) NotDone() bool + func (iter NamespaceListResultIterator) Response() NamespaceListResult + func (iter NamespaceListResultIterator) Value() NamespaceResource + type NamespaceListResultPage struct + func NewNamespaceListResultPage(cur NamespaceListResult, ...) NamespaceListResultPage + func (page *NamespaceListResultPage) Next() error + func (page *NamespaceListResultPage) NextWithContext(ctx context.Context) (err error) + func (page NamespaceListResultPage) NotDone() bool + func (page NamespaceListResultPage) Response() NamespaceListResult + func (page NamespaceListResultPage) Values() []NamespaceResource + type NamespacePatchParameters struct + Sku *Sku + Tags map[string]*string + func (npp NamespacePatchParameters) MarshalJSON() ([]byte, error) + type NamespaceProperties struct + CreatedAt *date.Time + Critical *bool + Enabled *bool + Name *string + NamespaceType NamespaceType + ProvisioningState *string + Region *string + ScaleUnit *string + ServiceBusEndpoint *string + Status *string + SubscriptionID *string + type NamespaceResource struct + ID *string + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + func (nr *NamespaceResource) UnmarshalJSON(body []byte) error + func (nr NamespaceResource) MarshalJSON() ([]byte, error) + type NamespaceType string + const Messaging + const NotificationHub + func PossibleNamespaceTypeValues() []NamespaceType + type NamespacesClient struct + func NewNamespacesClient(subscriptionID string) NamespacesClient + func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient + func (client NamespacesClient) CheckAvailability(ctx context.Context, parameters CheckAvailabilityParameters) (result CheckAvailabilityResult, err error) + func (client NamespacesClient) CheckAvailabilityPreparer(ctx context.Context, parameters CheckAvailabilityParameters) (*http.Request, error) + func (client NamespacesClient) CheckAvailabilityResponder(resp *http.Response) (result CheckAvailabilityResult, err error) + func (client NamespacesClient) CheckAvailabilitySender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result NamespaceResource, err error) + func (client NamespacesClient) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result SharedAccessAuthorizationRuleResource, err error) + func (client NamespacesClient) CreateOrUpdateAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client NamespacesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error) + func (client NamespacesClient) CreateOrUpdateAuthorizationRuleSender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client NamespacesClient) CreateOrUpdateResponder(resp *http.Response) (result NamespaceResource, err error) + func (client NamespacesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string) (result NamespacesDeleteFuture, err error) + func (client NamespacesClient) DeleteAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result autorest.Response, err error) + func (client NamespacesClient) DeleteAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client NamespacesClient) DeleteAuthorizationRuleResponder(resp *http.Response) (result autorest.Response, err error) + func (client NamespacesClient) DeleteAuthorizationRuleSender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) + func (client NamespacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client NamespacesClient) DeleteSender(req *http.Request) (future NamespacesDeleteFuture, err error) + func (client NamespacesClient) Get(ctx context.Context, resourceGroupName string, namespaceName string) (result NamespaceResource, err error) + func (client NamespacesClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result SharedAccessAuthorizationRuleResource, err error) + func (client NamespacesClient) GetAuthorizationRulePreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client NamespacesClient) GetAuthorizationRuleResponder(resp *http.Response) (result SharedAccessAuthorizationRuleResource, err error) + func (client NamespacesClient) GetAuthorizationRuleSender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) GetPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) + func (client NamespacesClient) GetResponder(resp *http.Response) (result NamespaceResource, err error) + func (client NamespacesClient) GetSender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) List(ctx context.Context, resourceGroupName string) (result NamespaceListResultPage, err error) + func (client NamespacesClient) ListAll(ctx context.Context) (result NamespaceListResultPage, err error) + func (client NamespacesClient) ListAllComplete(ctx context.Context) (result NamespaceListResultIterator, err error) + func (client NamespacesClient) ListAllPreparer(ctx context.Context) (*http.Request, error) + func (client NamespacesClient) ListAllResponder(resp *http.Response) (result NamespaceListResult, err error) + func (client NamespacesClient) ListAllSender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string) (result SharedAccessAuthorizationRuleListResultPage, err error) + func (client NamespacesClient) ListAuthorizationRulesComplete(ctx context.Context, resourceGroupName string, namespaceName string) (result SharedAccessAuthorizationRuleListResultIterator, err error) + func (client NamespacesClient) ListAuthorizationRulesPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) + func (client NamespacesClient) ListAuthorizationRulesResponder(resp *http.Response) (result SharedAccessAuthorizationRuleListResult, err error) + func (client NamespacesClient) ListAuthorizationRulesSender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) ListComplete(ctx context.Context, resourceGroupName string) (result NamespaceListResultIterator, err error) + func (client NamespacesClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result ResourceListKeys, err error) + func (client NamespacesClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client NamespacesClient) ListKeysResponder(resp *http.Response) (result ResourceListKeys, err error) + func (client NamespacesClient) ListKeysSender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) + func (client NamespacesClient) ListResponder(resp *http.Response) (result NamespaceListResult, err error) + func (client NamespacesClient) ListSender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) Patch(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result NamespaceResource, err error) + func (client NamespacesClient) PatchPreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client NamespacesClient) PatchResponder(resp *http.Response) (result NamespaceResource, err error) + func (client NamespacesClient) PatchSender(req *http.Request) (*http.Response, error) + func (client NamespacesClient) RegenerateKeys(ctx context.Context, resourceGroupName string, namespaceName string, ...) (result ResourceListKeys, err error) + func (client NamespacesClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, namespaceName string, ...) (*http.Request, error) + func (client NamespacesClient) RegenerateKeysResponder(resp *http.Response) (result ResourceListKeys, err error) + func (client NamespacesClient) RegenerateKeysSender(req *http.Request) (*http.Response, error) + type NamespacesDeleteFuture struct + Result func(NamespacesClient) (autorest.Response, error) + type PnsCredentialsProperties struct + AdmCredential *AdmCredential + ApnsCredential *ApnsCredential + BaiduCredential *BaiduCredential + GcmCredential *GcmCredential + MpnsCredential *MpnsCredential + WnsCredential *WnsCredential + type PnsCredentialsResource struct + ID *string + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + func (pcr *PnsCredentialsResource) UnmarshalJSON(body []byte) error + func (pcr PnsCredentialsResource) MarshalJSON() ([]byte, error) + type PolicykeyResource struct + PolicyKey *string + type Properties struct + AdmCredential *AdmCredential + ApnsCredential *ApnsCredential + AuthorizationRules *[]SharedAccessAuthorizationRuleProperties + BaiduCredential *BaiduCredential + GcmCredential *GcmCredential + MpnsCredential *MpnsCredential + Name *string + RegistrationTTL *string + WnsCredential *WnsCredential + type Resource struct + ID *string + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type ResourceListKeys struct + KeyName *string + PrimaryConnectionString *string + PrimaryKey *string + SecondaryConnectionString *string + SecondaryKey *string + type ResourceType struct + ID *string + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + func (rt *ResourceType) UnmarshalJSON(body []byte) error + func (rt ResourceType) MarshalJSON() ([]byte, error) + type SharedAccessAuthorizationRuleCreateOrUpdateParameters struct + ID *string + Location *string + Name *string + Properties *SharedAccessAuthorizationRuleProperties + Sku *Sku + Tags map[string]*string + Type *string + func (saarcoup SharedAccessAuthorizationRuleCreateOrUpdateParameters) MarshalJSON() ([]byte, error) + type SharedAccessAuthorizationRuleListResult struct + NextLink *string + Value *[]SharedAccessAuthorizationRuleResource + func (saarlr SharedAccessAuthorizationRuleListResult) IsEmpty() bool + type SharedAccessAuthorizationRuleListResultIterator struct + func NewSharedAccessAuthorizationRuleListResultIterator(page SharedAccessAuthorizationRuleListResultPage) SharedAccessAuthorizationRuleListResultIterator + func (iter *SharedAccessAuthorizationRuleListResultIterator) Next() error + func (iter *SharedAccessAuthorizationRuleListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter SharedAccessAuthorizationRuleListResultIterator) NotDone() bool + func (iter SharedAccessAuthorizationRuleListResultIterator) Response() SharedAccessAuthorizationRuleListResult + func (iter SharedAccessAuthorizationRuleListResultIterator) Value() SharedAccessAuthorizationRuleResource + type SharedAccessAuthorizationRuleListResultPage struct + func NewSharedAccessAuthorizationRuleListResultPage(cur SharedAccessAuthorizationRuleListResult, ...) SharedAccessAuthorizationRuleListResultPage + func (page *SharedAccessAuthorizationRuleListResultPage) Next() error + func (page *SharedAccessAuthorizationRuleListResultPage) NextWithContext(ctx context.Context) (err error) + func (page SharedAccessAuthorizationRuleListResultPage) NotDone() bool + func (page SharedAccessAuthorizationRuleListResultPage) Response() SharedAccessAuthorizationRuleListResult + func (page SharedAccessAuthorizationRuleListResultPage) Values() []SharedAccessAuthorizationRuleResource + type SharedAccessAuthorizationRuleProperties struct + Rights *[]AccessRights + type SharedAccessAuthorizationRuleResource struct + ID *string + Location *string + Name *string + Sku *Sku + Tags map[string]*string + Type *string + func (saarr *SharedAccessAuthorizationRuleResource) UnmarshalJSON(body []byte) error + func (saarr SharedAccessAuthorizationRuleResource) MarshalJSON() ([]byte, error) + type Sku struct + Capacity *int32 + Family *string + Name SkuName + Size *string + Tier *string + type SkuName string + const Basic + const Free + const Standard + func PossibleSkuNameValues() []SkuName + type SubResource struct + ID *string + type WnsCredential struct + func (wc *WnsCredential) UnmarshalJSON(body []byte) error + func (wc WnsCredential) MarshalJSON() ([]byte, error) + type WnsCredentialProperties struct + PackageSid *string + SecretKey *string + WindowsLiveEndpoint *string Other modules containing this package github.com/pmalek-sumo/azure-sdk-for-go