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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET