Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAccessRights() []string + func PossibleValuesForPolicyKeyType() []string + func PossibleValuesForSkuName() []string + func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error) + func ValidateNotificationHubAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error) + func ValidateNotificationHubID(input interface{}, key string) (warnings []string, errors []error) + type AccessRights string + const AccessRightsListen + const AccessRightsManage + const AccessRightsSend + func (s *AccessRights) UnmarshalJSON(bytes []byte) error + type AdmCredential struct + Properties AdmCredentialProperties + type AdmCredentialProperties struct + AuthTokenURL string + ClientId string + ClientSecret string + type ApnsCredential struct + Properties ApnsCredentialProperties + type ApnsCredentialProperties struct + ApnsCertificate *string + AppId *string + AppName *string + CertificateKey *string + Endpoint string + KeyId *string + Thumbprint *string + Token *string + type BaiduCredential struct + Properties BaiduCredentialProperties + type BaiduCredentialProperties struct + BaiduApiKey string + BaiduEndPoint string + BaiduSecretKey string + type BrowserCredential struct + Properties BrowserCredentialProperties + type BrowserCredentialProperties struct + Subject string + VapidPrivateKey string + VapidPublicKey string + type CheckAvailabilityParameters struct + Id *string + IsAvailiable *bool + Location *string + Name string + Sku *Sku + Tags *map[string]string + Type *string + type CheckAvailabilityResult struct + Id *string + IsAvailiable *bool + Location *string + Name *string + Sku *Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type DebugSendResponse struct + Id *string + Location *string + Name *string + Properties *DebugSendResult + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type DebugSendResult struct + Failure *int64 + Results *[]RegistrationResult + Success *int64 + type GcmCredential struct + Properties GcmCredentialProperties + type GcmCredentialProperties struct + GcmEndpoint *string + GoogleApiKey string + type HubsClient struct + Client *resourcemanager.Client + func NewHubsClientWithBaseURI(sdkApi sdkEnv.Api) (*HubsClient, error) + func (c HubsClient) NotificationHubsCheckNotificationHubAvailability(ctx context.Context, id NamespaceId, input CheckAvailabilityParameters) (result NotificationHubsCheckNotificationHubAvailabilityOperationResponse, ...) + func (c HubsClient) NotificationHubsCreateOrUpdate(ctx context.Context, id NotificationHubId, input NotificationHubResource) (result NotificationHubsCreateOrUpdateOperationResponse, err error) + func (c HubsClient) NotificationHubsCreateOrUpdateAuthorizationRule(ctx context.Context, id NotificationHubAuthorizationRuleId, ...) (result NotificationHubsCreateOrUpdateAuthorizationRuleOperationResponse, ...) + func (c HubsClient) NotificationHubsDebugSend(ctx context.Context, id NotificationHubId) (result NotificationHubsDebugSendOperationResponse, err error) + func (c HubsClient) NotificationHubsDelete(ctx context.Context, id NotificationHubId) (result NotificationHubsDeleteOperationResponse, err error) + func (c HubsClient) NotificationHubsDeleteAuthorizationRule(ctx context.Context, id NotificationHubAuthorizationRuleId) (result NotificationHubsDeleteAuthorizationRuleOperationResponse, err error) + func (c HubsClient) NotificationHubsGet(ctx context.Context, id NotificationHubId) (result NotificationHubsGetOperationResponse, err error) + func (c HubsClient) NotificationHubsGetAuthorizationRule(ctx context.Context, id NotificationHubAuthorizationRuleId) (result NotificationHubsGetAuthorizationRuleOperationResponse, err error) + func (c HubsClient) NotificationHubsGetPnsCredentials(ctx context.Context, id NotificationHubId) (result NotificationHubsGetPnsCredentialsOperationResponse, err error) + func (c HubsClient) NotificationHubsList(ctx context.Context, id NamespaceId, ...) (result NotificationHubsListOperationResponse, err error) + func (c HubsClient) NotificationHubsListAuthorizationRules(ctx context.Context, id NotificationHubId) (result NotificationHubsListAuthorizationRulesOperationResponse, err error) + func (c HubsClient) NotificationHubsListAuthorizationRulesComplete(ctx context.Context, id NotificationHubId) (NotificationHubsListAuthorizationRulesCompleteResult, error) + func (c HubsClient) NotificationHubsListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id NotificationHubId, ...) (result NotificationHubsListAuthorizationRulesCompleteResult, err error) + func (c HubsClient) NotificationHubsListComplete(ctx context.Context, id NamespaceId, ...) (NotificationHubsListCompleteResult, error) + func (c HubsClient) NotificationHubsListCompleteMatchingPredicate(ctx context.Context, id NamespaceId, ...) (result NotificationHubsListCompleteResult, err error) + func (c HubsClient) NotificationHubsListKeys(ctx context.Context, id NotificationHubAuthorizationRuleId) (result NotificationHubsListKeysOperationResponse, err error) + func (c HubsClient) NotificationHubsRegenerateKeys(ctx context.Context, id NotificationHubAuthorizationRuleId, ...) (result NotificationHubsRegenerateKeysOperationResponse, err error) + func (c HubsClient) NotificationHubsUpdate(ctx context.Context, id NotificationHubId, ...) (result NotificationHubsUpdateOperationResponse, err error) + type MpnsCredential struct + Properties MpnsCredentialProperties + type MpnsCredentialProperties struct + CertificateKey string + MpnsCertificate string + Thumbprint string + type NamespaceId struct + NamespaceName string + ResourceGroupName string + SubscriptionId string + func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId + func ParseNamespaceID(input string) (*NamespaceId, error) + func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error) + func (id *NamespaceId) FromParseResult(input resourceids.ParseResult) error + func (id NamespaceId) ID() string + func (id NamespaceId) Segments() []resourceids.Segment + func (id NamespaceId) String() string + type NotificationHubAuthorizationRuleId struct + AuthorizationRuleName string + NamespaceName string + NotificationHubName string + ResourceGroupName string + SubscriptionId string + func NewNotificationHubAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, ...) NotificationHubAuthorizationRuleId + func ParseNotificationHubAuthorizationRuleID(input string) (*NotificationHubAuthorizationRuleId, error) + func ParseNotificationHubAuthorizationRuleIDInsensitively(input string) (*NotificationHubAuthorizationRuleId, error) + func (id *NotificationHubAuthorizationRuleId) FromParseResult(input resourceids.ParseResult) error + func (id NotificationHubAuthorizationRuleId) ID() string + func (id NotificationHubAuthorizationRuleId) Segments() []resourceids.Segment + func (id NotificationHubAuthorizationRuleId) String() string + type NotificationHubId struct + NamespaceName string + NotificationHubName string + ResourceGroupName string + SubscriptionId string + func NewNotificationHubID(subscriptionId string, resourceGroupName string, namespaceName string, ...) NotificationHubId + func ParseNotificationHubID(input string) (*NotificationHubId, error) + func ParseNotificationHubIDInsensitively(input string) (*NotificationHubId, error) + func (id *NotificationHubId) FromParseResult(input resourceids.ParseResult) error + func (id NotificationHubId) ID() string + func (id NotificationHubId) Segments() []resourceids.Segment + func (id NotificationHubId) String() string + type NotificationHubPatchParameters struct + Properties *NotificationHubProperties + Sku *Sku + Tags *map[string]string + type NotificationHubProperties struct + AdmCredential *AdmCredential + ApnsCredential *ApnsCredential + AuthorizationRules *[]SharedAccessAuthorizationRuleProperties + BaiduCredential *BaiduCredential + BrowserCredential *BrowserCredential + DailyMaxActiveDevices *int64 + GcmCredential *GcmCredential + MpnsCredential *MpnsCredential + Name *string + RegistrationTtl *string + WnsCredential *WnsCredential + XiaomiCredential *XiaomiCredential + type NotificationHubResource struct + Id *string + Location string + Name *string + Properties *NotificationHubProperties + Sku *Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type NotificationHubResourceOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p NotificationHubResourceOperationPredicate) Matches(input NotificationHubResource) bool + type NotificationHubsCheckNotificationHubAvailabilityOperationResponse struct + HttpResponse *http.Response + Model *CheckAvailabilityResult + OData *odata.OData + type NotificationHubsCreateOrUpdateAuthorizationRuleOperationResponse struct + HttpResponse *http.Response + Model *SharedAccessAuthorizationRuleResource + OData *odata.OData + type NotificationHubsCreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *NotificationHubResource + OData *odata.OData + type NotificationHubsDebugSendOperationResponse struct + HttpResponse *http.Response + Model *DebugSendResponse + OData *odata.OData + type NotificationHubsDeleteAuthorizationRuleOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type NotificationHubsDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type NotificationHubsGetAuthorizationRuleOperationResponse struct + HttpResponse *http.Response + Model *SharedAccessAuthorizationRuleResource + OData *odata.OData + type NotificationHubsGetOperationResponse struct + HttpResponse *http.Response + Model *NotificationHubResource + OData *odata.OData + type NotificationHubsGetPnsCredentialsOperationResponse struct + HttpResponse *http.Response + Model *PnsCredentialsResource + OData *odata.OData + type NotificationHubsListAuthorizationRulesCompleteResult struct + Items []SharedAccessAuthorizationRuleResource + LatestHttpResponse *http.Response + type NotificationHubsListAuthorizationRulesCustomPager struct + NextLink *odata.Link + func (p *NotificationHubsListAuthorizationRulesCustomPager) NextPageLink() *odata.Link + type NotificationHubsListAuthorizationRulesOperationResponse struct + HttpResponse *http.Response + Model *[]SharedAccessAuthorizationRuleResource + OData *odata.OData + type NotificationHubsListCompleteResult struct + Items []NotificationHubResource + LatestHttpResponse *http.Response + type NotificationHubsListCustomPager struct + NextLink *odata.Link + func (p *NotificationHubsListCustomPager) NextPageLink() *odata.Link + type NotificationHubsListKeysOperationResponse struct + HttpResponse *http.Response + Model *ResourceListKeys + OData *odata.OData + type NotificationHubsListOperationOptions struct + Top *int64 + func DefaultNotificationHubsListOperationOptions() NotificationHubsListOperationOptions + func (o NotificationHubsListOperationOptions) ToHeaders() *client.Headers + func (o NotificationHubsListOperationOptions) ToOData() *odata.Query + func (o NotificationHubsListOperationOptions) ToQuery() *client.QueryParams + type NotificationHubsListOperationResponse struct + HttpResponse *http.Response + Model *[]NotificationHubResource + OData *odata.OData + type NotificationHubsRegenerateKeysOperationResponse struct + HttpResponse *http.Response + Model *ResourceListKeys + OData *odata.OData + type NotificationHubsUpdateOperationResponse struct + HttpResponse *http.Response + Model *NotificationHubResource + OData *odata.OData + type PnsCredentials struct + AdmCredential *AdmCredential + ApnsCredential *ApnsCredential + BaiduCredential *BaiduCredential + BrowserCredential *BrowserCredential + GcmCredential *GcmCredential + MpnsCredential *MpnsCredential + WnsCredential *WnsCredential + XiaomiCredential *XiaomiCredential + type PnsCredentialsResource struct + Id *string + Location *string + Name *string + Properties *PnsCredentials + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type PolicyKeyResource struct + PolicyKey PolicyKeyType + type PolicyKeyType string + const PolicyKeyTypePrimaryKey + const PolicyKeyTypeSecondaryKey + func (s *PolicyKeyType) UnmarshalJSON(bytes []byte) error + type RegistrationResult struct + ApplicationPlatform *string + Outcome *string + PnsHandle *string + RegistrationId *string + type ResourceListKeys struct + KeyName *string + PrimaryConnectionString *string + PrimaryKey *string + SecondaryConnectionString *string + SecondaryKey *string + type SharedAccessAuthorizationRuleProperties struct + ClaimType *string + ClaimValue *string + CreatedTime *string + KeyName *string + ModifiedTime *string + PrimaryKey *string + Revision *int64 + Rights []AccessRights + SecondaryKey *string + func (o *SharedAccessAuthorizationRuleProperties) GetCreatedTimeAsTime() (*time.Time, error) + func (o *SharedAccessAuthorizationRuleProperties) GetModifiedTimeAsTime() (*time.Time, error) + func (o *SharedAccessAuthorizationRuleProperties) SetCreatedTimeAsTime(input time.Time) + func (o *SharedAccessAuthorizationRuleProperties) SetModifiedTimeAsTime(input time.Time) + type SharedAccessAuthorizationRuleResource struct + Id *string + Location *string + Name *string + Properties *SharedAccessAuthorizationRuleProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type SharedAccessAuthorizationRuleResourceOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p SharedAccessAuthorizationRuleResourceOperationPredicate) Matches(input SharedAccessAuthorizationRuleResource) bool + type Sku struct + Capacity *int64 + Family *string + Name SkuName + Size *string + Tier *string + type SkuName string + const SkuNameBasic + const SkuNameFree + const SkuNameStandard + func (s *SkuName) UnmarshalJSON(bytes []byte) error + type WnsCredential struct + Properties WnsCredentialProperties + type WnsCredentialProperties struct + CertificateKey *string + PackageSid *string + SecretKey *string + WindowsLiveEndpoint *string + WnsCertificate *string + type XiaomiCredential struct + Properties XiaomiCredentialProperties + type XiaomiCredentialProperties struct + AppSecret *string + Endpoint *string