Class AzureEntityResource
The resource model definition for a Azure Resource Manager resource with an etag.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DeploymentManager.dll
Syntax
public class AzureEntityResource : Microsoft.Azure.Management.DeploymentManager.Models.Resource
Constructors
AzureEntityResource()
Initializes a new instance of the AzureEntityResource class.
Declaration
public AzureEntityResource ();
AzureEntityResource(String, String, String, String)
Initializes a new instance of the AzureEntityResource class.
Declaration
public AzureEntityResource (string id = null, string name = null, string type = null, string etag = null);
Parameters
|
String
id
Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
|
String
name
The name of the resource |
|
String
type
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. |
|
String
etag
Resource Etag. |
Properties
Etag
Gets resource Etag.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="etag")]
public string Etag { get; }
Property Value
|
String
|