Condividi tramite


ArmServiceLinkerModelFactory.LinkerResourcePatch Method

Definition

Initializes a new instance of LinkerResourcePatch.

public static Azure.ResourceManager.ServiceLinker.Models.LinkerResourcePatch LinkerResourcePatch(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 LinkerResourcePatch : 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.Models.LinkerResourcePatch
Public Shared Function LinkerResourcePatch (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 LinkerResourcePatch

Parameters

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 LinkerResourcePatch instance for mocking.

Applies to