Sdílet prostřednictvím


SecurityConnectorData Class

Definition

A class representing the SecurityConnector data model. The security connector resource.

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

Constructors

SecurityConnectorData(AzureLocation)

Initializes a new instance of SecurityConnectorData.

Properties

EnvironmentData

The security connector environment data. Please note SecurityConnectorEnvironment is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AwsEnvironment, AzureDevOpsScopeEnvironment, GcpProjectEnvironment, GithubScopeEnvironment and GitlabScopeEnvironment.

EnvironmentName

The multi cloud resource's cloud name.

ETag

Entity tag is used for comparing two or more entities from the same requested resource.

HierarchyIdentifier

The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).

HierarchyIdentifierTrialEndOn

The date on which the trial period will end, if applicable. Trial period exists for 30 days after upgrading to payed offerings.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Kind

Kind of the resource.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Offerings

A collection of offerings for the security connector. Please note SecurityCenterCloudOffering is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CspmMonitorAwsOffering, CspmMonitorAzureDevOpsOffering, CspmMonitorGcpOffering, CspmMonitorGitLabOffering, CspmMonitorGithubOffering, DefenderCspmAwsOffering, DefenderCspmGcpOffering, DefenderForContainersAwsOffering, DefenderForContainersGcpOffering, DefenderForDatabasesAwsOffering, DefenderForDatabasesGcpOffering, DefenderForDevOpsAzureDevOpsOffering, DefenderForDevOpsGitLabOffering, DefenderForDevOpsGithubOffering, DefenderForServersAwsOffering, DefenderForServersGcpOffering and InformationProtectionAwsOffering.

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)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<SecurityConnectorData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecurityConnectorData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecurityConnectorData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityConnectorData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecurityConnectorData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to