Share via


NotificationHubResource Constructors

Definition

Overloads

NotificationHubResource()

Initializes a new instance of the NotificationHubResource class.

NotificationHubResource(String, String, String, String, IDictionary<String, String>, Sku, String, String, IList<SharedAccessAuthorizationRuleProperties>, ApnsCredential, WnsCredential, GcmCredential, MpnsCredential, AdmCredential, BaiduCredential)

Initializes a new instance of the NotificationHubResource class.

NotificationHubResource()

Initializes a new instance of the NotificationHubResource class.

public NotificationHubResource ();
Public Sub New ()

Applies to

NotificationHubResource(String, String, String, String, IDictionary<String, String>, Sku, String, String, IList<SharedAccessAuthorizationRuleProperties>, ApnsCredential, WnsCredential, GcmCredential, MpnsCredential, AdmCredential, BaiduCredential)

Initializes a new instance of the NotificationHubResource class.

public NotificationHubResource (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.NotificationHubs.Models.Sku sku = default, string notificationHubResourceName = default, string registrationTtl = default, System.Collections.Generic.IList<Microsoft.Azure.Management.NotificationHubs.Models.SharedAccessAuthorizationRuleProperties> authorizationRules = default, Microsoft.Azure.Management.NotificationHubs.Models.ApnsCredential apnsCredential = default, Microsoft.Azure.Management.NotificationHubs.Models.WnsCredential wnsCredential = default, Microsoft.Azure.Management.NotificationHubs.Models.GcmCredential gcmCredential = default, Microsoft.Azure.Management.NotificationHubs.Models.MpnsCredential mpnsCredential = default, Microsoft.Azure.Management.NotificationHubs.Models.AdmCredential admCredential = default, Microsoft.Azure.Management.NotificationHubs.Models.BaiduCredential baiduCredential = default);
new Microsoft.Azure.Management.NotificationHubs.Models.NotificationHubResource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.NotificationHubs.Models.Sku * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.NotificationHubs.Models.SharedAccessAuthorizationRuleProperties> * Microsoft.Azure.Management.NotificationHubs.Models.ApnsCredential * Microsoft.Azure.Management.NotificationHubs.Models.WnsCredential * Microsoft.Azure.Management.NotificationHubs.Models.GcmCredential * Microsoft.Azure.Management.NotificationHubs.Models.MpnsCredential * Microsoft.Azure.Management.NotificationHubs.Models.AdmCredential * Microsoft.Azure.Management.NotificationHubs.Models.BaiduCredential -> Microsoft.Azure.Management.NotificationHubs.Models.NotificationHubResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As Sku = Nothing, Optional notificationHubResourceName As String = Nothing, Optional registrationTtl As String = Nothing, Optional authorizationRules As IList(Of SharedAccessAuthorizationRuleProperties) = Nothing, Optional apnsCredential As ApnsCredential = Nothing, Optional wnsCredential As WnsCredential = Nothing, Optional gcmCredential As GcmCredential = Nothing, Optional mpnsCredential As MpnsCredential = Nothing, Optional admCredential As AdmCredential = Nothing, Optional baiduCredential As BaiduCredential = Nothing)

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

location
String

Resource location

tags
IDictionary<String,String>

Resource tags

sku
Sku

The sku of the created namespace

notificationHubResourceName
String

The NotificationHub name.

registrationTtl
String

The RegistrationTtl of the created NotificationHub

authorizationRules
IList<SharedAccessAuthorizationRuleProperties>

The AuthorizationRules of the created NotificationHub

apnsCredential
ApnsCredential

The ApnsCredential of the created NotificationHub

wnsCredential
WnsCredential

The WnsCredential of the created NotificationHub

gcmCredential
GcmCredential

The GcmCredential of the created NotificationHub

mpnsCredential
MpnsCredential

The MpnsCredential of the created NotificationHub

admCredential
AdmCredential

The AdmCredential of the created NotificationHub

baiduCredential
BaiduCredential

The BaiduCredential of the created NotificationHub

Applies to