Share via


ArmManagedNetworkModelFactory.ManagedNetworkPeeringPolicyProperties Method

Definition

Initializes a new instance of ManagedNetworkPeeringPolicyProperties.

public static Azure.ResourceManager.ManagedNetwork.Models.ManagedNetworkPeeringPolicyProperties ManagedNetworkPeeringPolicyProperties (Azure.ResourceManager.ManagedNetwork.Models.ProvisioningState? provisioningState = default, Azure.ETag? etag = default, Azure.ResourceManager.ManagedNetwork.Models.ConnectivityType connectivityType = default, Azure.Core.ResourceIdentifier hubId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> spokes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> mesh = default);
static member ManagedNetworkPeeringPolicyProperties : Nullable<Azure.ResourceManager.ManagedNetwork.Models.ProvisioningState> * Nullable<Azure.ETag> * Azure.ResourceManager.ManagedNetwork.Models.ConnectivityType * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> -> Azure.ResourceManager.ManagedNetwork.Models.ManagedNetworkPeeringPolicyProperties
Public Shared Function ManagedNetworkPeeringPolicyProperties (Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional connectivityType As ConnectivityType = Nothing, Optional hubId As ResourceIdentifier = Nothing, Optional spokes As IEnumerable(Of WritableSubResource) = Nothing, Optional mesh As IEnumerable(Of WritableSubResource) = Nothing) As ManagedNetworkPeeringPolicyProperties

Parameters

provisioningState
Nullable<ProvisioningState>

Provisioning state of the ManagedNetwork resource.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

connectivityType
ConnectivityType

Gets or sets the connectivity type of a network structure policy.

hubId
ResourceIdentifier

Gets or sets the hub virtual network ID.

spokes
IEnumerable<WritableSubResource>

Gets or sets the spokes group IDs.

mesh
IEnumerable<WritableSubResource>

Gets or sets the mesh group IDs.

Returns

A new ManagedNetworkPeeringPolicyProperties instance for mocking.

Applies to