1// +build go1.9
2
3// Copyright 2019 Microsoft Corporation
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9//     http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16
17// This code was auto-generated by:
18// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
19
20package notificationhubs
21
22import (
23	"context"
24
25	original "github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs"
26)
27
28const (
29	DefaultBaseURI = original.DefaultBaseURI
30)
31
32type AccessRights = original.AccessRights
33
34const (
35	Listen AccessRights = original.Listen
36	Manage AccessRights = original.Manage
37	Send   AccessRights = original.Send
38)
39
40type NamespaceType = original.NamespaceType
41
42const (
43	Messaging       NamespaceType = original.Messaging
44	NotificationHub NamespaceType = original.NotificationHub
45)
46
47type SkuName = original.SkuName
48
49const (
50	Basic    SkuName = original.Basic
51	Free     SkuName = original.Free
52	Standard SkuName = original.Standard
53)
54
55type AdmCredential = original.AdmCredential
56type AdmCredentialProperties = original.AdmCredentialProperties
57type ApnsCredential = original.ApnsCredential
58type ApnsCredentialProperties = original.ApnsCredentialProperties
59type BaiduCredential = original.BaiduCredential
60type BaiduCredentialProperties = original.BaiduCredentialProperties
61type BaseClient = original.BaseClient
62type CheckAvailabilityParameters = original.CheckAvailabilityParameters
63type CheckAvailabilityResult = original.CheckAvailabilityResult
64type Client = original.Client
65type CreateOrUpdateParameters = original.CreateOrUpdateParameters
66type DebugSendResponse = original.DebugSendResponse
67type DebugSendResult = original.DebugSendResult
68type ErrorResponse = original.ErrorResponse
69type GcmCredential = original.GcmCredential
70type GcmCredentialProperties = original.GcmCredentialProperties
71type ListResult = original.ListResult
72type ListResultIterator = original.ListResultIterator
73type ListResultPage = original.ListResultPage
74type MpnsCredential = original.MpnsCredential
75type MpnsCredentialProperties = original.MpnsCredentialProperties
76type NamespaceCreateOrUpdateParameters = original.NamespaceCreateOrUpdateParameters
77type NamespaceListResult = original.NamespaceListResult
78type NamespaceListResultIterator = original.NamespaceListResultIterator
79type NamespaceListResultPage = original.NamespaceListResultPage
80type NamespacePatchParameters = original.NamespacePatchParameters
81type NamespaceProperties = original.NamespaceProperties
82type NamespaceResource = original.NamespaceResource
83type NamespacesClient = original.NamespacesClient
84type NamespacesDeleteFuture = original.NamespacesDeleteFuture
85type Operation = original.Operation
86type OperationDisplay = original.OperationDisplay
87type OperationListResult = original.OperationListResult
88type OperationListResultIterator = original.OperationListResultIterator
89type OperationListResultPage = original.OperationListResultPage
90type OperationsClient = original.OperationsClient
91type PatchParameters = original.PatchParameters
92type PnsCredentialsProperties = original.PnsCredentialsProperties
93type PnsCredentialsResource = original.PnsCredentialsResource
94type PolicykeyResource = original.PolicykeyResource
95type Properties = original.Properties
96type Resource = original.Resource
97type ResourceListKeys = original.ResourceListKeys
98type ResourceType = original.ResourceType
99type SharedAccessAuthorizationRuleCreateOrUpdateParameters = original.SharedAccessAuthorizationRuleCreateOrUpdateParameters
100type SharedAccessAuthorizationRuleListResult = original.SharedAccessAuthorizationRuleListResult
101type SharedAccessAuthorizationRuleListResultIterator = original.SharedAccessAuthorizationRuleListResultIterator
102type SharedAccessAuthorizationRuleListResultPage = original.SharedAccessAuthorizationRuleListResultPage
103type SharedAccessAuthorizationRuleProperties = original.SharedAccessAuthorizationRuleProperties
104type SharedAccessAuthorizationRuleResource = original.SharedAccessAuthorizationRuleResource
105type Sku = original.Sku
106type SubResource = original.SubResource
107type WnsCredential = original.WnsCredential
108type WnsCredentialProperties = original.WnsCredentialProperties
109
110func New(subscriptionID string) BaseClient {
111	return original.New(subscriptionID)
112}
113func NewClient(subscriptionID string) Client {
114	return original.NewClient(subscriptionID)
115}
116func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
117	return original.NewClientWithBaseURI(baseURI, subscriptionID)
118}
119func NewListResultIterator(page ListResultPage) ListResultIterator {
120	return original.NewListResultIterator(page)
121}
122func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage {
123	return original.NewListResultPage(getNextPage)
124}
125func NewNamespaceListResultIterator(page NamespaceListResultPage) NamespaceListResultIterator {
126	return original.NewNamespaceListResultIterator(page)
127}
128func NewNamespaceListResultPage(getNextPage func(context.Context, NamespaceListResult) (NamespaceListResult, error)) NamespaceListResultPage {
129	return original.NewNamespaceListResultPage(getNextPage)
130}
131func NewNamespacesClient(subscriptionID string) NamespacesClient {
132	return original.NewNamespacesClient(subscriptionID)
133}
134func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient {
135	return original.NewNamespacesClientWithBaseURI(baseURI, subscriptionID)
136}
137func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
138	return original.NewOperationListResultIterator(page)
139}
140func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
141	return original.NewOperationListResultPage(getNextPage)
142}
143func NewOperationsClient(subscriptionID string) OperationsClient {
144	return original.NewOperationsClient(subscriptionID)
145}
146func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
147	return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
148}
149func NewSharedAccessAuthorizationRuleListResultIterator(page SharedAccessAuthorizationRuleListResultPage) SharedAccessAuthorizationRuleListResultIterator {
150	return original.NewSharedAccessAuthorizationRuleListResultIterator(page)
151}
152func NewSharedAccessAuthorizationRuleListResultPage(getNextPage func(context.Context, SharedAccessAuthorizationRuleListResult) (SharedAccessAuthorizationRuleListResult, error)) SharedAccessAuthorizationRuleListResultPage {
153	return original.NewSharedAccessAuthorizationRuleListResultPage(getNextPage)
154}
155func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
156	return original.NewWithBaseURI(baseURI, subscriptionID)
157}
158func PossibleAccessRightsValues() []AccessRights {
159	return original.PossibleAccessRightsValues()
160}
161func PossibleNamespaceTypeValues() []NamespaceType {
162	return original.PossibleNamespaceTypeValues()
163}
164func PossibleSkuNameValues() []SkuName {
165	return original.PossibleSkuNameValues()
166}
167func UserAgent() string {
168	return original.UserAgent() + " profiles/preview"
169}
170func Version() string {
171	return original.Version()
172}
173