ResourceManagerModelFactory.ResourceProviderData Method

Definition

Initializes a new instance of ResourceProviderData.

public static Azure.ResourceManager.Resources.ResourceProviderData ResourceProviderData (Azure.Core.ResourceIdentifier id = default, string namespace = default, string registrationState = default, string registrationPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ProviderResourceType> resourceTypes = default, Azure.ResourceManager.Resources.Models.ProviderAuthorizationConsentState? providerAuthorizationConsentState = default);
static member ResourceProviderData : Azure.Core.ResourceIdentifier * string * string * string * seq<Azure.ResourceManager.Resources.Models.ProviderResourceType> * Nullable<Azure.ResourceManager.Resources.Models.ProviderAuthorizationConsentState> -> Azure.ResourceManager.Resources.ResourceProviderData
Public Shared Function ResourceProviderData (Optional id As ResourceIdentifier = Nothing, Optional namespace As String = Nothing, Optional registrationState As String = Nothing, Optional registrationPolicy As String = Nothing, Optional resourceTypes As IEnumerable(Of ProviderResourceType) = Nothing, Optional providerAuthorizationConsentState As Nullable(Of ProviderAuthorizationConsentState) = Nothing) As ResourceProviderData

Parameters

id
ResourceIdentifier

The provider ID.

namespace
String

The namespace of the resource provider.

registrationState
String

The registration state of the resource provider.

registrationPolicy
String

The registration policy of the resource provider.

resourceTypes
IEnumerable<ProviderResourceType>

The collection of provider resource types.

providerAuthorizationConsentState
Nullable<ProviderAuthorizationConsentState>

The provider authorization consent state.

Returns

A new ResourceProviderData instance for mocking.

Applies to