ArmWebPubSubModelFactory.WebPubSubReplicaData Method

Definition

public static Azure.ResourceManager.WebPubSub.WebPubSubReplicaData WebPubSubReplicaData(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.WebPubSub.Models.WebPubSubProvisioningState? provisioningState = default, string isRegionEndpointEnabled = default, string resourceStopped = default, Azure.ResourceManager.WebPubSub.Models.BillingInfoSku sku = default);
static member WebPubSubReplicaData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.WebPubSub.Models.WebPubSubProvisioningState> * string * string * Azure.ResourceManager.WebPubSub.Models.BillingInfoSku -> Azure.ResourceManager.WebPubSub.WebPubSubReplicaData
Public Shared Function WebPubSubReplicaData (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 provisioningState As Nullable(Of WebPubSubProvisioningState) = Nothing, Optional isRegionEndpointEnabled As String = Nothing, Optional resourceStopped As String = Nothing, Optional sku As BillingInfoSku = Nothing) As WebPubSubReplicaData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

provisioningState
Nullable<WebPubSubProvisioningState>

Provisioning state of the resource.

isRegionEndpointEnabled
String

Enable or disable the regional endpoint. Default to "Enabled". When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.

resourceStopped
String

Stop or start the resource. Default to "false". When it's true, the data plane of the resource is shutdown. When it's false, the data plane of the resource is started.

sku
BillingInfoSku

The billing information of the resource.

Returns

A new WebPubSubReplicaData instance for mocking.

Applies to