Documentation ¶
Index ¶
- 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
- type AdmCredential
- type AdmCredentialProperties
- type ApnsCredential
- type ApnsCredentialProperties
- type BaiduCredential
- type BaiduCredentialProperties
- type BrowserCredential
- type BrowserCredentialProperties
- type CheckAvailabilityParameters
- type CheckAvailabilityResult
- type DebugSendResponse
- type DebugSendResult
- type GcmCredential
- type GcmCredentialProperties
- type HubsClient
- 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
- type MpnsCredentialProperties
- type NamespaceId
- type NotificationHubAuthorizationRuleId
- func NewNotificationHubAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, ...) NotificationHubAuthorizationRuleId
- func ParseNotificationHubAuthorizationRuleID(input string) (*NotificationHubAuthorizationRuleId, error)
- func ParseNotificationHubAuthorizationRuleIDInsensitively(input string) (*NotificationHubAuthorizationRuleId, error)
- type NotificationHubId
- type NotificationHubPatchParameters
- type NotificationHubProperties
- type NotificationHubResource
- type NotificationHubResourceOperationPredicate
- type NotificationHubsCheckNotificationHubAvailabilityOperationResponse
- type NotificationHubsCreateOrUpdateAuthorizationRuleOperationResponse
- type NotificationHubsCreateOrUpdateOperationResponse
- type NotificationHubsDebugSendOperationResponse
- type NotificationHubsDeleteAuthorizationRuleOperationResponse
- type NotificationHubsDeleteOperationResponse
- type NotificationHubsGetAuthorizationRuleOperationResponse
- type NotificationHubsGetOperationResponse
- type NotificationHubsGetPnsCredentialsOperationResponse
- type NotificationHubsListAuthorizationRulesCompleteResult
- type NotificationHubsListAuthorizationRulesOperationResponse
- type NotificationHubsListCompleteResult
- type NotificationHubsListKeysOperationResponse
- type NotificationHubsListOperationOptions
- type NotificationHubsListOperationResponse
- type NotificationHubsRegenerateKeysOperationResponse
- type NotificationHubsUpdateOperationResponse
- type PnsCredentials
- type PnsCredentialsResource
- type PolicyKeyResource
- type PolicyKeyType
- type RegistrationResult
- type ResourceListKeys
- type SharedAccessAuthorizationRuleProperties
- 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
- type SharedAccessAuthorizationRuleResourceOperationPredicate
- type Sku
- type SkuName
- type WnsCredential
- type WnsCredentialProperties
- type XiaomiCredential
- type XiaomiCredentialProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRights ¶
func PossibleValuesForAccessRights() []string
func PossibleValuesForPolicyKeyType ¶
func PossibleValuesForPolicyKeyType() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
func ValidateNotificationHubAuthorizationRuleID ¶
func ValidateNotificationHubAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateNotificationHubAuthorizationRuleID checks that 'input' can be parsed as a Notification Hub Authorization Rule ID
func ValidateNotificationHubID ¶
ValidateNotificationHubID checks that 'input' can be parsed as a Notification Hub ID
Types ¶
type AccessRights ¶
type AccessRights string
const ( AccessRightsListen AccessRights = "Listen" AccessRightsManage AccessRights = "Manage" AccessRightsSend AccessRights = "Send" )
func (*AccessRights) UnmarshalJSON ¶
func (s *AccessRights) UnmarshalJSON(bytes []byte) error
type AdmCredential ¶
type AdmCredential struct {
Properties AdmCredentialProperties `json:"properties"`
}
type AdmCredentialProperties ¶
type ApnsCredential ¶
type ApnsCredential struct {
Properties ApnsCredentialProperties `json:"properties"`
}
type ApnsCredentialProperties ¶
type ApnsCredentialProperties struct { ApnsCertificate *string `json:"apnsCertificate,omitempty"` AppId *string `json:"appId,omitempty"` AppName *string `json:"appName,omitempty"` CertificateKey *string `json:"certificateKey,omitempty"` Endpoint string `json:"endpoint"` KeyId *string `json:"keyId,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` Token *string `json:"token,omitempty"` }
type BaiduCredential ¶
type BaiduCredential struct {
Properties BaiduCredentialProperties `json:"properties"`
}
type BrowserCredential ¶
type BrowserCredential struct {
Properties BrowserCredentialProperties `json:"properties"`
}
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"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DebugSendResponse ¶
type DebugSendResponse struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *DebugSendResult `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DebugSendResult ¶
type DebugSendResult struct { Failure *int64 `json:"failure,omitempty"` Results *[]RegistrationResult `json:"results,omitempty"` Success *int64 `json:"success,omitempty"` }
type GcmCredential ¶
type GcmCredential struct {
Properties GcmCredentialProperties `json:"properties"`
}
type GcmCredentialProperties ¶
type HubsClient ¶
type HubsClient struct {
Client *resourcemanager.Client
}
func NewHubsClientWithBaseURI ¶
func NewHubsClientWithBaseURI(sdkApi sdkEnv.Api) (*HubsClient, error)
func (HubsClient) NotificationHubsCheckNotificationHubAvailability ¶
func (c HubsClient) NotificationHubsCheckNotificationHubAvailability(ctx context.Context, id NamespaceId, input CheckAvailabilityParameters) (result NotificationHubsCheckNotificationHubAvailabilityOperationResponse, err error)
NotificationHubsCheckNotificationHubAvailability ...
func (HubsClient) NotificationHubsCreateOrUpdate ¶
func (c HubsClient) NotificationHubsCreateOrUpdate(ctx context.Context, id NotificationHubId, input NotificationHubResource) (result NotificationHubsCreateOrUpdateOperationResponse, err error)
NotificationHubsCreateOrUpdate ...
func (HubsClient) NotificationHubsCreateOrUpdateAuthorizationRule ¶
func (c HubsClient) NotificationHubsCreateOrUpdateAuthorizationRule(ctx context.Context, id NotificationHubAuthorizationRuleId, input SharedAccessAuthorizationRuleResource) (result NotificationHubsCreateOrUpdateAuthorizationRuleOperationResponse, err error)
NotificationHubsCreateOrUpdateAuthorizationRule ...
func (HubsClient) NotificationHubsDebugSend ¶
func (c HubsClient) NotificationHubsDebugSend(ctx context.Context, id NotificationHubId) (result NotificationHubsDebugSendOperationResponse, err error)
NotificationHubsDebugSend ...
func (HubsClient) NotificationHubsDelete ¶
func (c HubsClient) NotificationHubsDelete(ctx context.Context, id NotificationHubId) (result NotificationHubsDeleteOperationResponse, err error)
NotificationHubsDelete ...
func (HubsClient) NotificationHubsDeleteAuthorizationRule ¶
func (c HubsClient) NotificationHubsDeleteAuthorizationRule(ctx context.Context, id NotificationHubAuthorizationRuleId) (result NotificationHubsDeleteAuthorizationRuleOperationResponse, err error)
NotificationHubsDeleteAuthorizationRule ...
func (HubsClient) NotificationHubsGet ¶
func (c HubsClient) NotificationHubsGet(ctx context.Context, id NotificationHubId) (result NotificationHubsGetOperationResponse, err error)
NotificationHubsGet ...
func (HubsClient) NotificationHubsGetAuthorizationRule ¶
func (c HubsClient) NotificationHubsGetAuthorizationRule(ctx context.Context, id NotificationHubAuthorizationRuleId) (result NotificationHubsGetAuthorizationRuleOperationResponse, err error)
NotificationHubsGetAuthorizationRule ...
func (HubsClient) NotificationHubsGetPnsCredentials ¶
func (c HubsClient) NotificationHubsGetPnsCredentials(ctx context.Context, id NotificationHubId) (result NotificationHubsGetPnsCredentialsOperationResponse, err error)
NotificationHubsGetPnsCredentials ...
func (HubsClient) NotificationHubsList ¶
func (c HubsClient) NotificationHubsList(ctx context.Context, id NamespaceId, options NotificationHubsListOperationOptions) (result NotificationHubsListOperationResponse, err error)
NotificationHubsList ...
func (HubsClient) NotificationHubsListAuthorizationRules ¶
func (c HubsClient) NotificationHubsListAuthorizationRules(ctx context.Context, id NotificationHubId) (result NotificationHubsListAuthorizationRulesOperationResponse, err error)
NotificationHubsListAuthorizationRules ...
func (HubsClient) NotificationHubsListAuthorizationRulesComplete ¶
func (c HubsClient) NotificationHubsListAuthorizationRulesComplete(ctx context.Context, id NotificationHubId) (NotificationHubsListAuthorizationRulesCompleteResult, error)
NotificationHubsListAuthorizationRulesComplete retrieves all the results into a single object
func (HubsClient) NotificationHubsListAuthorizationRulesCompleteMatchingPredicate ¶
func (c HubsClient) NotificationHubsListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id NotificationHubId, predicate SharedAccessAuthorizationRuleResourceOperationPredicate) (result NotificationHubsListAuthorizationRulesCompleteResult, err error)
NotificationHubsListAuthorizationRulesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (HubsClient) NotificationHubsListComplete ¶
func (c HubsClient) NotificationHubsListComplete(ctx context.Context, id NamespaceId, options NotificationHubsListOperationOptions) (NotificationHubsListCompleteResult, error)
NotificationHubsListComplete retrieves all the results into a single object
func (HubsClient) NotificationHubsListCompleteMatchingPredicate ¶
func (c HubsClient) NotificationHubsListCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options NotificationHubsListOperationOptions, predicate NotificationHubResourceOperationPredicate) (result NotificationHubsListCompleteResult, err error)
NotificationHubsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (HubsClient) NotificationHubsListKeys ¶
func (c HubsClient) NotificationHubsListKeys(ctx context.Context, id NotificationHubAuthorizationRuleId) (result NotificationHubsListKeysOperationResponse, err error)
NotificationHubsListKeys ...
func (HubsClient) NotificationHubsRegenerateKeys ¶
func (c HubsClient) NotificationHubsRegenerateKeys(ctx context.Context, id NotificationHubAuthorizationRuleId, input PolicyKeyResource) (result NotificationHubsRegenerateKeysOperationResponse, err error)
NotificationHubsRegenerateKeys ...
func (HubsClient) NotificationHubsUpdate ¶
func (c HubsClient) NotificationHubsUpdate(ctx context.Context, id NotificationHubId, input NotificationHubPatchParameters) (result NotificationHubsUpdateOperationResponse, err error)
NotificationHubsUpdate ...
type MpnsCredential ¶
type MpnsCredential struct {
Properties MpnsCredentialProperties `json:"properties"`
}
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) FromParseResult ¶
func (id *NamespaceId) FromParseResult(input resourceids.ParseResult) error
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 NotificationHubAuthorizationRuleId ¶
type NotificationHubAuthorizationRuleId struct { SubscriptionId string ResourceGroupName string NamespaceName string NotificationHubName string AuthorizationRuleName string }
NotificationHubAuthorizationRuleId is a struct representing the Resource ID for a Notification Hub Authorization Rule
func NewNotificationHubAuthorizationRuleID ¶
func NewNotificationHubAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, notificationHubName string, authorizationRuleName string) NotificationHubAuthorizationRuleId
NewNotificationHubAuthorizationRuleID returns a new NotificationHubAuthorizationRuleId struct
func ParseNotificationHubAuthorizationRuleID ¶
func ParseNotificationHubAuthorizationRuleID(input string) (*NotificationHubAuthorizationRuleId, error)
ParseNotificationHubAuthorizationRuleID parses 'input' into a NotificationHubAuthorizationRuleId
func ParseNotificationHubAuthorizationRuleIDInsensitively ¶
func ParseNotificationHubAuthorizationRuleIDInsensitively(input string) (*NotificationHubAuthorizationRuleId, error)
ParseNotificationHubAuthorizationRuleIDInsensitively parses 'input' case-insensitively into a NotificationHubAuthorizationRuleId note: this method should only be used for API response data and not user input
func (*NotificationHubAuthorizationRuleId) FromParseResult ¶
func (id *NotificationHubAuthorizationRuleId) FromParseResult(input resourceids.ParseResult) error
func (NotificationHubAuthorizationRuleId) ID ¶
func (id NotificationHubAuthorizationRuleId) ID() string
ID returns the formatted Notification Hub Authorization Rule ID
func (NotificationHubAuthorizationRuleId) Segments ¶
func (id NotificationHubAuthorizationRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Notification Hub Authorization Rule ID
func (NotificationHubAuthorizationRuleId) String ¶
func (id NotificationHubAuthorizationRuleId) String() string
String returns a human-readable description of this Notification Hub Authorization Rule ID
type NotificationHubId ¶
type NotificationHubId struct { SubscriptionId string ResourceGroupName string NamespaceName string NotificationHubName string }
NotificationHubId is a struct representing the Resource ID for a Notification Hub
func NewNotificationHubID ¶
func NewNotificationHubID(subscriptionId string, resourceGroupName string, namespaceName string, notificationHubName string) NotificationHubId
NewNotificationHubID returns a new NotificationHubId struct
func ParseNotificationHubID ¶
func ParseNotificationHubID(input string) (*NotificationHubId, error)
ParseNotificationHubID parses 'input' into a NotificationHubId
func ParseNotificationHubIDInsensitively ¶
func ParseNotificationHubIDInsensitively(input string) (*NotificationHubId, error)
ParseNotificationHubIDInsensitively parses 'input' case-insensitively into a NotificationHubId note: this method should only be used for API response data and not user input
func (*NotificationHubId) FromParseResult ¶
func (id *NotificationHubId) FromParseResult(input resourceids.ParseResult) error
func (NotificationHubId) ID ¶
func (id NotificationHubId) ID() string
ID returns the formatted Notification Hub ID
func (NotificationHubId) Segments ¶
func (id NotificationHubId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Notification Hub ID
func (NotificationHubId) String ¶
func (id NotificationHubId) String() string
String returns a human-readable description of this Notification Hub ID
type NotificationHubPatchParameters ¶
type NotificationHubPatchParameters struct { Properties *NotificationHubProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type NotificationHubProperties ¶
type NotificationHubProperties struct { AdmCredential *AdmCredential `json:"admCredential,omitempty"` ApnsCredential *ApnsCredential `json:"apnsCredential,omitempty"` AuthorizationRules *[]SharedAccessAuthorizationRuleProperties `json:"authorizationRules,omitempty"` BaiduCredential *BaiduCredential `json:"baiduCredential,omitempty"` BrowserCredential *BrowserCredential `json:"browserCredential,omitempty"` DailyMaxActiveDevices *int64 `json:"dailyMaxActiveDevices,omitempty"` GcmCredential *GcmCredential `json:"gcmCredential,omitempty"` MpnsCredential *MpnsCredential `json:"mpnsCredential,omitempty"` Name *string `json:"name,omitempty"` RegistrationTtl *string `json:"registrationTtl,omitempty"` WnsCredential *WnsCredential `json:"wnsCredential,omitempty"` XiaomiCredential *XiaomiCredential `json:"xiaomiCredential,omitempty"` }
type NotificationHubResource ¶
type NotificationHubResource struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *NotificationHubProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type NotificationHubResourceOperationPredicate ¶
type NotificationHubResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (NotificationHubResourceOperationPredicate) Matches ¶
func (p NotificationHubResourceOperationPredicate) Matches(input NotificationHubResource) bool
type NotificationHubsCheckNotificationHubAvailabilityOperationResponse ¶
type NotificationHubsCheckNotificationHubAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckAvailabilityResult }
type NotificationHubsCreateOrUpdateAuthorizationRuleOperationResponse ¶
type NotificationHubsCreateOrUpdateAuthorizationRuleOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SharedAccessAuthorizationRuleResource }
type NotificationHubsCreateOrUpdateOperationResponse ¶
type NotificationHubsCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NotificationHubResource }
type NotificationHubsDebugSendOperationResponse ¶
type NotificationHubsDebugSendOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DebugSendResponse }
type NotificationHubsGetAuthorizationRuleOperationResponse ¶
type NotificationHubsGetAuthorizationRuleOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SharedAccessAuthorizationRuleResource }
type NotificationHubsGetOperationResponse ¶
type NotificationHubsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NotificationHubResource }
type NotificationHubsGetPnsCredentialsOperationResponse ¶
type NotificationHubsGetPnsCredentialsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PnsCredentialsResource }
type NotificationHubsListAuthorizationRulesCompleteResult ¶
type NotificationHubsListAuthorizationRulesCompleteResult struct { LatestHttpResponse *http.Response Items []SharedAccessAuthorizationRuleResource }
type NotificationHubsListAuthorizationRulesOperationResponse ¶
type NotificationHubsListAuthorizationRulesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SharedAccessAuthorizationRuleResource }
type NotificationHubsListCompleteResult ¶
type NotificationHubsListCompleteResult struct { LatestHttpResponse *http.Response Items []NotificationHubResource }
type NotificationHubsListKeysOperationResponse ¶
type NotificationHubsListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceListKeys }
type NotificationHubsListOperationOptions ¶
type NotificationHubsListOperationOptions struct {
Top *int64
}
func DefaultNotificationHubsListOperationOptions ¶
func DefaultNotificationHubsListOperationOptions() NotificationHubsListOperationOptions
func (NotificationHubsListOperationOptions) ToHeaders ¶
func (o NotificationHubsListOperationOptions) ToHeaders() *client.Headers
func (NotificationHubsListOperationOptions) ToOData ¶
func (o NotificationHubsListOperationOptions) ToOData() *odata.Query
func (NotificationHubsListOperationOptions) ToQuery ¶
func (o NotificationHubsListOperationOptions) ToQuery() *client.QueryParams
type NotificationHubsListOperationResponse ¶
type NotificationHubsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NotificationHubResource }
type NotificationHubsRegenerateKeysOperationResponse ¶
type NotificationHubsRegenerateKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceListKeys }
type NotificationHubsUpdateOperationResponse ¶
type NotificationHubsUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NotificationHubResource }
type PnsCredentials ¶
type PnsCredentials struct { AdmCredential *AdmCredential `json:"admCredential,omitempty"` ApnsCredential *ApnsCredential `json:"apnsCredential,omitempty"` BaiduCredential *BaiduCredential `json:"baiduCredential,omitempty"` BrowserCredential *BrowserCredential `json:"browserCredential,omitempty"` GcmCredential *GcmCredential `json:"gcmCredential,omitempty"` MpnsCredential *MpnsCredential `json:"mpnsCredential,omitempty"` WnsCredential *WnsCredential `json:"wnsCredential,omitempty"` XiaomiCredential *XiaomiCredential `json:"xiaomiCredential,omitempty"` }
type PnsCredentialsResource ¶
type PnsCredentialsResource struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *PnsCredentials `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type PolicyKeyResource ¶
type PolicyKeyResource struct {
PolicyKey PolicyKeyType `json:"policyKey"`
}
type PolicyKeyType ¶
type PolicyKeyType string
const ( PolicyKeyTypePrimaryKey PolicyKeyType = "PrimaryKey" PolicyKeyTypeSecondaryKey PolicyKeyType = "SecondaryKey" )
func (*PolicyKeyType) UnmarshalJSON ¶
func (s *PolicyKeyType) UnmarshalJSON(bytes []byte) error
type RegistrationResult ¶
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 SharedAccessAuthorizationRuleProperties ¶
type SharedAccessAuthorizationRuleProperties struct {}
func (*SharedAccessAuthorizationRuleProperties) GetCreatedTimeAsTime ¶
func (o *SharedAccessAuthorizationRuleProperties) GetCreatedTimeAsTime() (*time.Time, error)
func (*SharedAccessAuthorizationRuleProperties) GetModifiedTimeAsTime ¶
func (o *SharedAccessAuthorizationRuleProperties) GetModifiedTimeAsTime() (*time.Time, error)
func (*SharedAccessAuthorizationRuleProperties) SetCreatedTimeAsTime ¶
func (o *SharedAccessAuthorizationRuleProperties) SetCreatedTimeAsTime(input time.Time)
func (*SharedAccessAuthorizationRuleProperties) SetModifiedTimeAsTime ¶
func (o *SharedAccessAuthorizationRuleProperties) SetModifiedTimeAsTime(input time.Time)
type SharedAccessAuthorizationRuleResource ¶
type SharedAccessAuthorizationRuleResource struct {}
type SharedAccessAuthorizationRuleResourceOperationPredicate ¶
type SharedAccessAuthorizationRuleResourceOperationPredicate struct {}
func (SharedAccessAuthorizationRuleResourceOperationPredicate) Matches ¶
func (p SharedAccessAuthorizationRuleResourceOperationPredicate) Matches(input SharedAccessAuthorizationRuleResource) bool
type WnsCredential ¶
type WnsCredential struct {
Properties WnsCredentialProperties `json:"properties"`
}
type WnsCredentialProperties ¶
type WnsCredentialProperties struct { CertificateKey *string `json:"certificateKey,omitempty"` PackageSid *string `json:"packageSid,omitempty"` SecretKey *string `json:"secretKey,omitempty"` WindowsLiveEndpoint *string `json:"windowsLiveEndpoint,omitempty"` WnsCertificate *string `json:"wnsCertificate,omitempty"` }
type XiaomiCredential ¶
type XiaomiCredential struct {
Properties XiaomiCredentialProperties `json:"properties"`
}
Source Files ¶
- client.go
- constants.go
- id_namespace.go
- id_notificationhub.go
- id_notificationhubauthorizationrule.go
- method_notificationhubschecknotificationhubavailability.go
- method_notificationhubscreateorupdate.go
- method_notificationhubscreateorupdateauthorizationrule.go
- method_notificationhubsdebugsend.go
- method_notificationhubsdelete.go
- method_notificationhubsdeleteauthorizationrule.go
- method_notificationhubsget.go
- method_notificationhubsgetauthorizationrule.go
- method_notificationhubsgetpnscredentials.go
- method_notificationhubslist.go
- method_notificationhubslistauthorizationrules.go
- method_notificationhubslistkeys.go
- method_notificationhubsregeneratekeys.go
- method_notificationhubsupdate.go
- model_admcredential.go
- model_admcredentialproperties.go
- model_apnscredential.go
- model_apnscredentialproperties.go
- model_baiducredential.go
- model_baiducredentialproperties.go
- model_browsercredential.go
- model_browsercredentialproperties.go
- model_checkavailabilityparameters.go
- model_checkavailabilityresult.go
- model_debugsendresponse.go
- model_debugsendresult.go
- model_gcmcredential.go
- model_gcmcredentialproperties.go
- model_mpnscredential.go
- model_mpnscredentialproperties.go
- model_notificationhubpatchparameters.go
- model_notificationhubproperties.go
- model_notificationhubresource.go
- model_pnscredentials.go
- model_pnscredentialsresource.go
- model_policykeyresource.go
- model_registrationresult.go
- model_resourcelistkeys.go
- model_sharedaccessauthorizationruleproperties.go
- model_sharedaccessauthorizationruleresource.go
- model_sku.go
- model_wnscredential.go
- model_wnscredentialproperties.go
- model_xiaomicredential.go
- model_xiaomicredentialproperties.go
- predicates.go
- version.go