ArmAppComplianceAutomationModelFactory.ResourceItem 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 ResourceItem.
public static Azure.ResourceManager.AppComplianceAutomation.Models.ResourceItem ResourceItem (string subscriptionId = default, string resourceGroup = default, string resourceType = default, string resourceId = default);
static member ResourceItem : string * string * string * string -> Azure.ResourceManager.AppComplianceAutomation.Models.ResourceItem
Public Shared Function ResourceItem (Optional subscriptionId As String = Nothing, Optional resourceGroup As String = Nothing, Optional resourceType As String = Nothing, Optional resourceId As String = Nothing) As ResourceItem
Parameters
- subscriptionId
- String
The subscription Id of this resource.
- resourceGroup
- String
The resource group name of this resource.
- resourceType
- String
The resource type of this resource.
- resourceId
- String
The resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".
Returns
A new ResourceItem 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