GenericResource Class

Resource information.

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

Inheritance
azure.mgmt.resource.resources.v2017_05_10.models._models_py3.Resource
GenericResource

Constructor

GenericResource(*, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, plan: typing.Union[_ForwardRef('Plan'), NoneType] = None, properties: typing.Union[typing.Any, NoneType] = None, kind: typing.Union[str, NoneType] = None, managed_by: typing.Union[str, NoneType] = None, sku: typing.Union[_ForwardRef('Sku'), NoneType] = None, identity: typing.Union[_ForwardRef('Identity'), NoneType] = None, **kwargs)

Parameters

location
str
Required

Resource location.

tags
dict[str, str]
Required

A set of tags. Resource tags.

plan
Plan
Required

The plan of the resource.

properties
any
Required

The resource properties.

kind
str
Required

The kind of the resource.

managed_by
str
Required

ID of the resource that manages this resource.

sku
Sku
Required

The SKU of the resource.

identity
Identity
Required

The identity of the resource.

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.