New-AzMLWorkspaceApiKeyAuthWorkspaceConnectionPropertiesObject
Create an in-memory object for ApiKeyAuthWorkspaceConnectionProperties.
Syntax
New-AzMLWorkspaceApiKeyAuthWorkspaceConnectionPropertiesObject
[-CredentialsKey <String>]
[-Category <ConnectionCategory>]
[-ExpiryTime <DateTime>]
[-IsSharedToAll <Boolean>]
[-Metadata <IWorkspaceConnectionPropertiesV2Metadata>]
[-SharedUserList <String[]>]
[-Target <String>]
[-Value <String>]
[-ValueFormat <ValueFormat>]
[<CommonParameters>]
Description
Create an in-memory object for ApiKeyAuthWorkspaceConnectionProperties.
Examples
Example 1: Create an in-memory object for ApiKeyAuthWorkspaceConnectionProperties
New-AzMLWorkspaceApiKeyAuthWorkspaceConnectionPropertiesObject -Category <ConnectionCategory> -CredentialsKey <String> -IsSharedToAll <Boolean> -Metadata <IWorkspaceConnectionPropertiesV2Metadata> -Target <String>
This command creates an in-memory object for ApiKeyAuthWorkspaceConnectionProperties.
Parameters
-Category
Category of the connection.
Type: | ConnectionCategory |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CredentialsKey
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExpiryTime
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IsSharedToAll
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Metadata
Store user metadata for this connection. To construct, see NOTES section for METADATA properties and create a hash table.
Type: | IWorkspaceConnectionPropertiesV2Metadata |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SharedUserList
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Target
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Value
Value details of the workspace connection.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ValueFormat
format for the workspace connection value.
Type: | ValueFormat |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell