Share via


Resource Class

Azure resource. This resource is tracked in Azure Resource Manager.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Constructor

Resource(*, location: str, kind: str | None = None, tags: Dict[str, str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.

Default value: None
location
str

Resource Location. Required.

tags

Resource tags.

Default value: None

Variables

Name Description
id
str

Resource Id.

name
str

Resource Name.

kind
str

Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.

location
str

Resource Location. Required.

type
str

Resource type.

tags

Resource tags.