Share via


ArmSecurityCenterModelFactory.SecurityCloudConnectorData Method

Definition

Initializes a new instance of SecurityCloudConnectorData.

public static Azure.ResourceManager.SecurityCenter.SecurityCloudConnectorData SecurityCloudConnectorData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.SecurityCenter.Models.HybridComputeSettingsProperties hybridComputeSettings = default, Azure.ResourceManager.SecurityCenter.Models.AuthenticationDetailsProperties authenticationDetails = default);
static member SecurityCloudConnectorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.SecurityCenter.Models.HybridComputeSettingsProperties * Azure.ResourceManager.SecurityCenter.Models.AuthenticationDetailsProperties -> Azure.ResourceManager.SecurityCenter.SecurityCloudConnectorData
Public Shared Function SecurityCloudConnectorData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional hybridComputeSettings As HybridComputeSettingsProperties = Nothing, Optional authenticationDetails As AuthenticationDetailsProperties = Nothing) As SecurityCloudConnectorData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

hybridComputeSettings
HybridComputeSettingsProperties

Settings for hybrid compute management. These settings are relevant only for Arc autoProvision (Hybrid Compute).

authenticationDetails
AuthenticationDetailsProperties

Settings for authentication management, these settings are relevant only for the cloud connector. Please note AuthenticationDetailsProperties 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 AwsAssumeRoleAuthenticationDetailsProperties, AwsCredsAuthenticationDetailsProperties and GcpCredentialsDetailsProperties.

Returns

A new SecurityCloudConnectorData instance for mocking.

Applies to