Package version:

Interface Resource

Common properties of an Azure Resource Manager resource

interface Resource {
    id?: string;
    location: string;
    name?: string;
    tags?: {
        [propertyName: string]: string;
    };
    type?: string;
}

Hierarchy (view full)

Properties

id?: string

Resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

location: string

Resource location.

name?: string

Resource name. NOTE: This property will not be serialized. It can only be populated by the server.

tags?: {
    [propertyName: string]: string;
}

Resource tags.

type?: string

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.