Share via


Resource Class

Definition

Common fields that are returned in the response for all Azure Resource Manager resources.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.Resource+ResourceConverter))]
public class Resource
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.Resource+ResourceConverter))>]
type Resource = class
Public Class Resource
Inheritance
Resource
Derived
Attributes

Constructors

Resource()

Initializes a new instance of Resource.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

Name

The name of the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Applies to