Compartilhar via


ArmServiceLinkerModelFactory.LinkerResourceData Method

Definition

Initializes a new instance of LinkerResourceData.

public static Azure.ResourceManager.ServiceLinker.LinkerResourceData LinkerResourceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.ServiceLinker.Models.TargetServiceBaseInfo targetService = default, Azure.ResourceManager.ServiceLinker.Models.AuthBaseInfo authInfo = default, Azure.ResourceManager.ServiceLinker.Models.LinkerClientType? clientType = default, string provisioningState = default, Azure.ResourceManager.ServiceLinker.Models.VnetSolutionType? solutionType = default, Azure.Core.ResourceIdentifier secretStoreKeyVaultId = default, string scope = default);
static member LinkerResourceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.ServiceLinker.Models.TargetServiceBaseInfo * Azure.ResourceManager.ServiceLinker.Models.AuthBaseInfo * Nullable<Azure.ResourceManager.ServiceLinker.Models.LinkerClientType> * string * Nullable<Azure.ResourceManager.ServiceLinker.Models.VnetSolutionType> * Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.ServiceLinker.LinkerResourceData
Public Shared Function LinkerResourceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional targetService As TargetServiceBaseInfo = Nothing, Optional authInfo As AuthBaseInfo = Nothing, Optional clientType As Nullable(Of LinkerClientType) = Nothing, Optional provisioningState As String = Nothing, Optional solutionType As Nullable(Of VnetSolutionType) = Nothing, Optional secretStoreKeyVaultId As ResourceIdentifier = Nothing, Optional scope As String = Nothing) As LinkerResourceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

targetService
TargetServiceBaseInfo

The target service properties Please note TargetServiceBaseInfo 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 AzureResourceInfo, ConfluentBootstrapServerInfo and ConfluentSchemaRegistryInfo.

authInfo
AuthBaseInfo

The authentication type. Please note AuthBaseInfo 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 SecretAuthInfo, ServicePrincipalCertificateAuthInfo, ServicePrincipalSecretAuthInfo, SystemAssignedIdentityAuthInfo and UserAssignedIdentityAuthInfo.

clientType
Nullable<LinkerClientType>

The application client type.

provisioningState
String

The provisioning state.

solutionType
Nullable<VnetSolutionType>

The VNet solution.

secretStoreKeyVaultId
ResourceIdentifier

An option to store secret value in secure place.

scope
String

connection scope in source service.

Returns

A new LinkerResourceData instance for mocking.

Applies to