ArmRelayModelFactory.RelayNamespacePatch Method

Definition

Initializes a new instance of RelayNamespacePatch.

public static Azure.ResourceManager.Relay.Models.RelayNamespacePatch RelayNamespacePatch(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = 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, System.Collections.Generic.IDictionary<string,string> tags = default);
static member RelayNamespacePatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Relay.Models.RelaySku * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * seq<Azure.ResourceManager.Relay.RelayPrivateEndpointConnectionData> * Nullable<Azure.ResourceManager.Relay.Models.RelayPublicNetworkAccess> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Relay.Models.RelayNamespacePatch
Public Shared Function RelayNamespacePatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = 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, Optional tags As IDictionary(Of String, String) = Nothing) As RelayNamespacePatch

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.

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.

tags
IDictionary<String,String>

Resource tags.

Returns

A new RelayNamespacePatch instance for mocking.

Applies to