Resource Class
An Azure resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
msrest.serialization.ModelResource
Constructor
Resource(*, location: str | None = None, tags: Dict[str, str] | None = None, **kwargs)
Parameters
Name | Description |
---|---|
location
Required
|
The location of the resource. |
tags
Required
|
A set of tags. The tags of the resource. |
Keyword-Only Parameters
Name | Description |
---|---|
location
Required
|
|
tags
Required
|
|
Variables
Name | Description |
---|---|
id
|
The identifier of the resource. |
name
|
The name of the resource. |
type
|
The type of the resource. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python