共用方式為


ArmProviderHubModelFactory.ResourceProviderEndpoint Method

Definition

Initializes a new instance of ResourceProviderEndpoint.

public static Azure.ResourceManager.ProviderHub.Models.ResourceProviderEndpoint ResourceProviderEndpoint (bool? isEnabled = default, System.Collections.Generic.IEnumerable<string> apiVersions = default, Uri endpointUri = default, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations = default, System.Collections.Generic.IEnumerable<string> requiredFeatures = default, Azure.ResourceManager.ProviderHub.Models.FeaturesPolicy? requiredFeaturesPolicy = default, TimeSpan? timeout = default);
static member ResourceProviderEndpoint : Nullable<bool> * seq<string> * Uri * seq<Azure.Core.AzureLocation> * seq<string> * Nullable<Azure.ResourceManager.ProviderHub.Models.FeaturesPolicy> * Nullable<TimeSpan> -> Azure.ResourceManager.ProviderHub.Models.ResourceProviderEndpoint
Public Shared Function ResourceProviderEndpoint (Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional apiVersions As IEnumerable(Of String) = Nothing, Optional endpointUri As Uri = Nothing, Optional locations As IEnumerable(Of AzureLocation) = Nothing, Optional requiredFeatures As IEnumerable(Of String) = Nothing, Optional requiredFeaturesPolicy As Nullable(Of FeaturesPolicy) = Nothing, Optional timeout As Nullable(Of TimeSpan) = Nothing) As ResourceProviderEndpoint

Parameters

isEnabled
Nullable<Boolean>
apiVersions
IEnumerable<String>
endpointUri
Uri
requiredFeatures
IEnumerable<String>
requiredFeaturesPolicy
Nullable<FeaturesPolicy>
timeout
Nullable<TimeSpan>

Returns

A new ResourceProviderEndpoint instance for mocking.

Applies to