GenericResource interface

Resource information.

Extends

Properties

extendedLocation

Resource extended location.

identity

The identity of the resource.

kind

The kind of the resource.

location

Resource location

managedBy

ID of the resource that manages this resource.

plan

The plan of the resource.

properties

The resource-specific properties for this resource.

sku

The SKU of the resource.

tags

Resource tags

Inherited Properties

id

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

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

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

Property Details

extendedLocation

Resource extended location.

extendedLocation?: ExtendedLocation

Property Value

identity

The identity of the resource.

identity?: Identity

Property Value

kind

The kind of the resource.

kind?: string

Property Value

string

location

Resource location

location?: string

Property Value

string

managedBy

ID of the resource that manages this resource.

managedBy?: string

Property Value

string

plan

The plan of the resource.

plan?: Plan

Property Value

properties

The resource-specific properties for this resource.

properties?: Record<string, unknown>

Property Value

Record<string, unknown>

sku

The SKU of the resource.

sku?: Sku

Property Value

Sku

tags

Resource tags

tags?: Record<string, string>

Property Value

Record<string, string>

Inherited Property Details

id

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

id?: string

Property Value

string

Inherited From Resource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From Resource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From Resource.systemData

type

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

type?: string

Property Value

string

Inherited From Resource.type