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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET