你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WorkspaceSettingsOperationsExtensions.CreateAsync 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.
creating settings about where we should store your security data and logs
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.WorkspaceSetting> CreateAsync (this Microsoft.Azure.Management.Security.IWorkspaceSettingsOperations operations, string workspaceSettingName, string workspaceId = default, string scope = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Security.IWorkspaceSettingsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.WorkspaceSetting>
<Extension()>
Public Function CreateAsync (operations As IWorkspaceSettingsOperations, workspaceSettingName As String, Optional workspaceId As String = Nothing, Optional scope As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkspaceSetting)
Parameters
- operations
- IWorkspaceSettingsOperations
The operations group for this extension method.
- workspaceSettingName
- String
Name of the security setting
- workspaceId
- String
- scope
- String
- cancellationToken
- CancellationToken
The cancellation token.