ArmRelayModelFactory.RelayNamespaceData Method

Definition

Initializes a new instance of RelayNamespaceData.

public static Azure.ResourceManager.Relay.RelayNamespaceData RelayNamespaceData (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.Relay.Models.RelaySku sku = default, string provisioningState = default, string status = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, string serviceBusEndpoint = default, string metricId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Relay.RelayPrivateEndpointConnectionData> privateEndpointConnections = default, Azure.ResourceManager.Relay.Models.RelayPublicNetworkAccess? publicNetworkAccess = default);
static member RelayNamespaceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Relay.Models.RelaySku * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * seq<Azure.ResourceManager.Relay.RelayPrivateEndpointConnectionData> * Nullable<Azure.ResourceManager.Relay.Models.RelayPublicNetworkAccess> -> Azure.ResourceManager.Relay.RelayNamespaceData
Public Shared Function RelayNamespaceData (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 RelaySku = Nothing, Optional provisioningState As String = Nothing, Optional status As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional serviceBusEndpoint As String = Nothing, Optional metricId As String = Nothing, Optional privateEndpointConnections As IEnumerable(Of RelayPrivateEndpointConnectionData) = Nothing, Optional publicNetworkAccess As Nullable(Of RelayPublicNetworkAccess) = Nothing) As RelayNamespaceData

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.

sku
RelaySku

SKU of the namespace.

provisioningState
String

Provisioning state of the Namespace.

status
String

Status of the Namespace.

createdOn
Nullable<DateTimeOffset>

The time the namespace was created.

updatedOn
Nullable<DateTimeOffset>

The time the namespace was updated.

serviceBusEndpoint
String

Endpoint you can use to perform Service Bus operations.

metricId
String

Identifier for Azure Insights metrics.

privateEndpointConnections
IEnumerable<RelayPrivateEndpointConnectionData>

List of private endpoint connections.

publicNetworkAccess
Nullable<RelayPublicNetworkAccess>

This determines if traffic is allowed over public network. By default it is enabled. DO NOT USE PublicNetworkAccess on Namespace API. Please use the NetworkRuleSet API to enable or disable PublicNetworkAccess.

Returns

A new RelayNamespaceData instance for mocking.

Applies to