ArmNotificationHubsModelFactory.NotificationHubPatch Method

Definition

Initializes a new instance of NotificationHubPatch.

public static Azure.ResourceManager.NotificationHubs.Models.NotificationHubPatch NotificationHubPatch (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 NotificationHubPatch : 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.Models.NotificationHubPatch
Public Shared Function NotificationHubPatch (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 NotificationHubPatch

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

notificationHubName
String

The NotificationHub name.

registrationTtl
Nullable<TimeSpan>

The RegistrationTtl of the created NotificationHub.

authorizationRules
IEnumerable<SharedAccessAuthorizationRuleProperties>

The AuthorizationRules of the created NotificationHub.

apnsCredential
NotificationHubApnsCredential

The ApnsCredential of the created NotificationHub.

wnsCredential
NotificationHubWnsCredential

The WnsCredential of the created NotificationHub.

gcmCredential
NotificationHubGcmCredential

The GcmCredential of the created NotificationHub.

mpnsCredential
NotificationHubMpnsCredential

The MpnsCredential of the created NotificationHub.

admCredential
NotificationHubAdmCredential

The AdmCredential of the created NotificationHub.

baiduCredential
NotificationHubBaiduCredential

The BaiduCredential of the created NotificationHub.

sku
NotificationHubSku

The sku of the created namespace.

Returns

A new NotificationHubPatch instance for mocking.

Applies to