AzureEntityResource Constructors
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.
Overloads
AzureEntityResource() |
Initializes a new instance of the AzureEntityResource class. |
AzureEntityResource(String, String, String, String) |
Initializes a new instance of the AzureEntityResource class. |
AzureEntityResource()
Initializes a new instance of the AzureEntityResource class.
public AzureEntityResource ();
Public Sub New ()
Applies to
AzureEntityResource(String, String, String, String)
Initializes a new instance of the AzureEntityResource class.
public AzureEntityResource (string id = default, string name = default, string type = default, string etag = default);
new Microsoft.Azure.Management.PolicyInsights.Models.AzureEntityResource : string * string * string * string -> Microsoft.Azure.Management.PolicyInsights.Models.AzureEntityResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing)
Parameters
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag
- String
Resource Etag.
Applies to
Azure SDK for .NET