ArmNotificationHubsModelFactory.NotificationHubData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of NotificationHubData.
public static Azure.ResourceManager.NotificationHubs.NotificationHubData NotificationHubData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubSku sku = default, string notificationHubName = default, TimeSpan? registrationTtl = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NotificationHubs.Models.SharedAccessAuthorizationRuleProperties> authorizationRules = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubApnsCredential apnsCredential = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubWnsCredential wnsCredential = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubGcmCredential gcmCredential = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubMpnsCredential mpnsCredential = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubAdmCredential admCredential = default, Azure.ResourceManager.NotificationHubs.Models.NotificationHubBaiduCredential baiduCredential = default, Azure.ResourceManager.NotificationHubs.Models.BrowserCredential browserCredential = default, Azure.ResourceManager.NotificationHubs.Models.XiaomiCredential xiaomiCredential = default, Azure.ResourceManager.NotificationHubs.Models.FcmV1Credential fcmV1Credential = default, long? dailyMaxActiveDevices = default);
static member NotificationHubData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.NotificationHubs.Models.NotificationHubSku * string * Nullable<TimeSpan> * seq<Azure.ResourceManager.NotificationHubs.Models.SharedAccessAuthorizationRuleProperties> * Azure.ResourceManager.NotificationHubs.Models.NotificationHubApnsCredential * Azure.ResourceManager.NotificationHubs.Models.NotificationHubWnsCredential * Azure.ResourceManager.NotificationHubs.Models.NotificationHubGcmCredential * Azure.ResourceManager.NotificationHubs.Models.NotificationHubMpnsCredential * Azure.ResourceManager.NotificationHubs.Models.NotificationHubAdmCredential * Azure.ResourceManager.NotificationHubs.Models.NotificationHubBaiduCredential * Azure.ResourceManager.NotificationHubs.Models.BrowserCredential * Azure.ResourceManager.NotificationHubs.Models.XiaomiCredential * Azure.ResourceManager.NotificationHubs.Models.FcmV1Credential * Nullable<int64> -> Azure.ResourceManager.NotificationHubs.NotificationHubData
Public Shared Function NotificationHubData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As NotificationHubSku = Nothing, Optional notificationHubName As String = Nothing, Optional registrationTtl As Nullable(Of TimeSpan) = Nothing, Optional authorizationRules As IEnumerable(Of SharedAccessAuthorizationRuleProperties) = Nothing, Optional apnsCredential As NotificationHubApnsCredential = Nothing, Optional wnsCredential As NotificationHubWnsCredential = Nothing, Optional gcmCredential As NotificationHubGcmCredential = Nothing, Optional mpnsCredential As NotificationHubMpnsCredential = Nothing, Optional admCredential As NotificationHubAdmCredential = Nothing, Optional baiduCredential As NotificationHubBaiduCredential = Nothing, Optional browserCredential As BrowserCredential = Nothing, Optional xiaomiCredential As XiaomiCredential = Nothing, Optional fcmV1Credential As FcmV1Credential = Nothing, Optional dailyMaxActiveDevices As Nullable(Of Long) = Nothing) As NotificationHubData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
The Sku description for a namespace.
- notificationHubName
- String
Gets or sets the NotificationHub name.
- authorizationRules
- IEnumerable<SharedAccessAuthorizationRuleProperties>
Gets or sets the AuthorizationRules of the created NotificationHub.
- apnsCredential
- NotificationHubApnsCredential
Description of a NotificationHub ApnsCredential.
- wnsCredential
- NotificationHubWnsCredential
Description of a NotificationHub WnsCredential.
- gcmCredential
- NotificationHubGcmCredential
Description of a NotificationHub GcmCredential.
- mpnsCredential
- NotificationHubMpnsCredential
Description of a NotificationHub MpnsCredential.
- admCredential
- NotificationHubAdmCredential
Description of a NotificationHub AdmCredential.
- baiduCredential
- NotificationHubBaiduCredential
Description of a NotificationHub BaiduCredential.
- browserCredential
- BrowserCredential
Description of a NotificationHub BrowserCredential.
- xiaomiCredential
- XiaomiCredential
Description of a NotificationHub XiaomiCredential.
- fcmV1Credential
- FcmV1Credential
Description of a NotificationHub FcmV1Credential.
Returns
A new NotificationHubData instance for mocking.