你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MetadataPatch 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.
Metadata patch request body.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.MetadataPatchTypeConverter))]
public class MetadataPatch : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IMetadataPatch, Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.MetadataPatchTypeConverter))>]
type MetadataPatch = class
interface IMetadataPatch
interface IJsonSerializable
interface IResourceWithEtag
interface IResource
interface IValidates
Public Class MetadataPatch
Implements IMetadataPatch, IValidates
- Inheritance
-
MetadataPatch
- Attributes
- Implements
Constructors
MetadataPatch() |
Creates an new MetadataPatch instance. |
Properties
AuthorEmail |
Email of author contact |
AuthorLink |
Link for author/vendor page |
AuthorName |
Name of the author. Company or person. |
CategoryDomain |
domain for the solution content item |
CategoryVertical |
Industry verticals for the solution content item |
ContentId |
Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name |
DependencyContentId |
Id of the content item we depend on |
DependencyCriterion |
This is the list of dependencies we must fulfill, according to the AND/OR operator |
DependencyKind |
Type of the content item we depend on |
DependencyName |
Name of the content item |
DependencyOperator |
Operator used for list of dependencies in criteria array. |
DependencyVersion |
Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. |
Etag |
Etag of the azure resource |
FirstPublishDate |
first publish date solution content item |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
Kind |
The kind of content the metadata is for. |
LastPublishDate |
last publish date for the solution content item |
Name |
The name of the resource |
ParentId |
Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group) |
Provider |
Providers for the solution content item |
SourceId |
ID of the content source. The solution ID, workspace ID, etc |
SourceKind |
Source type of the content |
SourceName |
Name of the content source. The repo name, solution name, LA workspace name etc. |
SupportEmail |
Email of support contact |
SupportLink |
Link for support help, like to support page to open a ticket etc. |
SupportName |
Name of the support contact. Company or person. |
SupportTier |
Type of support for content item |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Version |
Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of MetadataPatch. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of MetadataPatch. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IMetadataPatch. |
FromJsonString(String) |
Creates a new instance of MetadataPatch, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of MetadataPatch into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |