ArmSecurityCenterModelFactory.SecurityConnectorData Method
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.
Initializes a new instance of SecurityConnectorData.
public static Azure.ResourceManager.SecurityCenter.SecurityConnectorData SecurityConnectorData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string hierarchyIdentifier = default, DateTimeOffset? hierarchyIdentifierTrialEndOn = default, Azure.ResourceManager.SecurityCenter.Models.SecurityCenterCloudName? environmentName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterCloudOffering> offerings = default, Azure.ResourceManager.SecurityCenter.Models.SecurityConnectorEnvironment environmentData = default, string kind = default, Azure.ETag? eTag = default);
static member SecurityConnectorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterCloudName> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterCloudOffering> * Azure.ResourceManager.SecurityCenter.Models.SecurityConnectorEnvironment * string * Nullable<Azure.ETag> -> Azure.ResourceManager.SecurityCenter.SecurityConnectorData
Public Shared Function SecurityConnectorData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional hierarchyIdentifier As String = Nothing, Optional hierarchyIdentifierTrialEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional environmentName As Nullable(Of SecurityCenterCloudName) = Nothing, Optional offerings As IEnumerable(Of SecurityCenterCloudOffering) = Nothing, Optional environmentData As SecurityConnectorEnvironment = Nothing, Optional kind As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As SecurityConnectorData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- hierarchyIdentifier
- String
The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).
- hierarchyIdentifierTrialEndOn
- Nullable<DateTimeOffset>
The date on which the trial period will end, if applicable. Trial period exists for 30 days after upgrading to payed offerings.
- environmentName
- Nullable<SecurityCenterCloudName>
The multi cloud resource's cloud name.
- offerings
- IEnumerable<SecurityCenterCloudOffering>
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.
- environmentData
- SecurityConnectorEnvironment
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.
- kind
- String
Kind of the resource.
Entity tag is used for comparing two or more entities from the same requested resource.
Returns
A new SecurityConnectorData instance for mocking.
Applies to
Azure SDK for .NET