다음을 통해 공유


PlanExtension Class

Definition

A plan's extension properties.

public class PlanExtension : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.PlanExtension>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.PlanExtension>
type PlanExtension = class
    interface IJsonModel<PlanExtension>
    interface IPersistableModel<PlanExtension>
Public Class PlanExtension
Implements IJsonModel(Of PlanExtension), IPersistableModel(Of PlanExtension)
Inheritance
PlanExtension
Implements

Constructors

PlanExtension(String, IsExtensionEnabled)

Initializes a new instance of PlanExtension.

Properties

AdditionalExtensionProperties

Property values associated with the extension.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

IsEnabled

Indicates whether the extension is enabled.

Name

The extension name. Supported values are: <br><br>AgentlessDiscoveryForKubernetes - API-based discovery of information about Kubernetes cluster architecture, workload objects, and setup. Required for Kubernetes inventory, identity and network exposure detection, attack path analysis and risk hunting as part of the cloud security explorer. Available for CloudPosture plan.<br><br>OnUploadMalwareScanning - Limits the GB to be scanned per month for each storage account within the subscription. Once this limit reached on a given storage account, Blobs won't be scanned during current calendar month. Available for StorageAccounts plan.<br><br>SensitiveDataDiscovery - Sensitive data discovery identifies Blob storage container with sensitive data such as credentials, credit cards, and more, to help prioritize and investigate security events. Available for StorageAccounts and CloudPosture plans.<br><br>ContainerRegistriesVulnerabilityAssessments - Provides vulnerability management for images stored in your container registries. Available for CloudPosture and Containers plans.

OperationStatus

Optional. A status describing the success/failure of the extension's enablement/disablement operation.

Explicit Interface Implementations

IJsonModel<PlanExtension>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PlanExtension>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PlanExtension>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PlanExtension>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PlanExtension>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to