Compartilhar via


ArmNotificationHubsModelFactory.NotificationHubData Método

Definição

Inicializa uma nova instância de 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, 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.NotificationHubSku sku = default);
static member NotificationHubData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * 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.NotificationHubSku -> 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 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 sku As NotificationHubSku = Nothing) As NotificationHubData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

notificationHubName
String

O nome do NotificationHub.

registrationTtl
Nullable<TimeSpan>

O RegistrationTtl do NotificationHub criado.

authorizationRules
IEnumerable<SharedAccessAuthorizationRuleProperties>

O AuthorizationRules do NotificationHub criado.

apnsCredential
NotificationHubApnsCredential

O ApnsCredential do NotificationHub criado.

wnsCredential
NotificationHubWnsCredential

O WnsCredential do NotificationHub criado.

gcmCredential
NotificationHubGcmCredential

O GcmCredential do NotificationHub criado.

mpnsCredential
NotificationHubMpnsCredential

O MpnsCredential do NotificationHub criado.

admCredential
NotificationHubAdmCredential

O AdmCredential do NotificationHub criado.

baiduCredential
NotificationHubBaiduCredential

O BaiduCredential do NotificationHub criado.

sku
NotificationHubSku

O sku do namespace criado.

Retornos

Uma nova NotificationHubData instância para simulação.

Aplica-se a