Udostępnij za pośrednictwem


ArmHybridNetworkModelFactory.SitePropertiesFormat Method

Definition

Initializes a new instance of SitePropertiesFormat.

public static Azure.ResourceManager.HybridNetwork.Models.SitePropertiesFormat SitePropertiesFormat (Azure.ResourceManager.HybridNetwork.Models.ProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridNetwork.Models.NFVIs> nfvis = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> siteNetworkServiceReferences = default);
static member SitePropertiesFormat : Nullable<Azure.ResourceManager.HybridNetwork.Models.ProvisioningState> * seq<Azure.ResourceManager.HybridNetwork.Models.NFVIs> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> -> Azure.ResourceManager.HybridNetwork.Models.SitePropertiesFormat
Public Shared Function SitePropertiesFormat (Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional nfvis As IEnumerable(Of NFVIs) = Nothing, Optional siteNetworkServiceReferences As IEnumerable(Of WritableSubResource) = Nothing) As SitePropertiesFormat

Parameters

provisioningState
Nullable<ProvisioningState>

The provisioning state of the site resource. TODO: Confirm if this is needed.

nfvis
IEnumerable<NFVIs>

List of NFVIs Please note NFVIs is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureArcK8SClusterNfviDetails, AzureCoreNfviDetails and AzureOperatorNexusClusterNfviDetails.

siteNetworkServiceReferences
IEnumerable<WritableSubResource>

The list of site network services on the site.

Returns

A new SitePropertiesFormat instance for mocking.

Applies to