ArmResourcesModelFactory.TargetResource 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 TargetResource.
public static Azure.ResourceManager.Resources.Models.TargetResource TargetResource (string id = default, string resourceName = default, Azure.Core.ResourceType? resourceType = default);
static member TargetResource : string * string * Nullable<Azure.Core.ResourceType> -> Azure.ResourceManager.Resources.Models.TargetResource
Public Shared Function TargetResource (Optional id As String = Nothing, Optional resourceName As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing) As TargetResource
Parameters
- id
- String
The ID of the resource.
- resourceName
- String
The name of the resource.
- resourceType
- Nullable<ResourceType>
The type of the resource.
Returns
A new TargetResource instance for mocking.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.