你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConnectorsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either account credentials or role-based authentication. For GCP, use account organization credentials.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.ConnectorSetting> CreateOrUpdateAsync (this Microsoft.Azure.Management.Security.IConnectorsOperations operations, string connectorName, Microsoft.Azure.Management.Security.Models.HybridComputeSettingsProperties hybridComputeSettings = default, Microsoft.Azure.Management.Security.Models.AuthenticationDetailsProperties authenticationDetails = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Security.IConnectorsOperations * string * Microsoft.Azure.Management.Security.Models.HybridComputeSettingsProperties * Microsoft.Azure.Management.Security.Models.AuthenticationDetailsProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.ConnectorSetting>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IConnectorsOperations, connectorName As String, Optional hybridComputeSettings As HybridComputeSettingsProperties = Nothing, Optional authenticationDetails As AuthenticationDetailsProperties = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConnectorSetting)

Parameters

operations
IConnectorsOperations

The operations group for this extension method.

connectorName
String

Name of the cloud account connector

hybridComputeSettings
HybridComputeSettingsProperties
authenticationDetails
AuthenticationDetailsProperties
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to