SlimPolicyMetadata 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.
Slim version of policy metadata resource definition, excluding properties with large strings.
public class SlimPolicyMetadata : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PolicyInsights.Models.SlimPolicyMetadata>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PolicyInsights.Models.SlimPolicyMetadata>
public class SlimPolicyMetadata : Azure.ResourceManager.Models.ResourceData
type SlimPolicyMetadata = class
inherit ResourceData
interface IJsonModel<SlimPolicyMetadata>
interface IPersistableModel<SlimPolicyMetadata>
type SlimPolicyMetadata = class
inherit ResourceData
Public Class SlimPolicyMetadata
Inherits ResourceData
Implements IJsonModel(Of SlimPolicyMetadata), IPersistableModel(Of SlimPolicyMetadata)
Public Class SlimPolicyMetadata
Inherits ResourceData
- Inheritance
- Implements
Properties
AdditionalContentUri |
Url for getting additional content about the resource metadata. |
Category |
The category of the policy metadata. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
Metadata |
Additional metadata. 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:
|
MetadataId |
The policy metadata identifier. |
Name |
The name of the resource. (Inherited from ResourceData) |
Owner |
The owner of the policy metadata. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Title |
The title of the policy metadata. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<SlimPolicyMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SlimPolicyMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SlimPolicyMetadata>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SlimPolicyMetadata>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SlimPolicyMetadata>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET