ResourceManagerModelFactory.ResourceProviderData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET