GenericResourceData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing the GenericResource data model. Resource information.
public class GenericResourceData : Azure.ResourceManager.Resources.Models.TrackedResourceExtendedData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.GenericResourceData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.GenericResourceData>
type GenericResourceData = class
inherit TrackedResourceExtendedData
interface IJsonModel<GenericResourceData>
interface IPersistableModel<GenericResourceData>
Public Class GenericResourceData
Inherits TrackedResourceExtendedData
Implements IJsonModel(Of GenericResourceData), IPersistableModel(Of GenericResourceData)
- Inheritance
- Implements
Constructors
GenericResourceData(AzureLocation) |
Initializes a new instance of GenericResourceData. |
Properties
ChangedOn |
The changed time of the resource. This is only present if requested via the $expand query parameter. |
CreatedOn |
The created time of the resource. This is only present if requested via the $expand query parameter. |
ExtendedLocation |
Resource extended location. (Inherited from TrackedResourceExtendedData) |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
Identity |
The identity of the resource. |
Kind |
The kind of the resource. |
Location |
The geo-location where the resource lives. (Inherited from TrackedResourceData) |
ManagedBy |
ID of the resource that manages this resource. |
Name |
The name of the resource. (Inherited from ResourceData) |
Plan |
The plan of the resource. |
Properties |
The resource properties. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
ProvisioningState |
The provisioning state of the resource. This is only present if requested via the $expand query parameter. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
Sku |
The SKU of the resource. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Tags |
Resource tags. (Inherited from TrackedResourceData) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from TrackedResourceExtendedData) |