azure-native.machinelearningservices.WorkspaceConnection
Explore with Pulumi AI
Workspace connection. API Version: 2021-01-01.
Create WorkspaceConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkspaceConnection(name: string, args: WorkspaceConnectionArgs, opts?: CustomResourceOptions);
@overload
def WorkspaceConnection(resource_name: str,
args: WorkspaceConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkspaceConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
workspace_name: Optional[str] = None,
auth_type: Optional[str] = None,
category: Optional[str] = None,
connection_name: Optional[str] = None,
name: Optional[str] = None,
target: Optional[str] = None,
value: Optional[str] = None,
value_format: Optional[Union[str, ValueFormat]] = None)
func NewWorkspaceConnection(ctx *Context, name string, args WorkspaceConnectionArgs, opts ...ResourceOption) (*WorkspaceConnection, error)
public WorkspaceConnection(string name, WorkspaceConnectionArgs args, CustomResourceOptions? opts = null)
public WorkspaceConnection(String name, WorkspaceConnectionArgs args)
public WorkspaceConnection(String name, WorkspaceConnectionArgs args, CustomResourceOptions options)
type: azure-native:machinelearningservices:WorkspaceConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. WorkspaceConnectionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. WorkspaceConnectionArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. WorkspaceConnectionArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. WorkspaceConnectionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. WorkspaceConnectionArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var workspaceConnectionResource = new AzureNative.Machinelearningservices.WorkspaceConnection("workspaceConnectionResource", new()
{
ResourceGroupName = "string",
WorkspaceName = "string",
AuthType = "string",
Category = "string",
ConnectionName = "string",
Name = "string",
Target = "string",
Value = "string",
ValueFormat = "string",
});
example, err := machinelearningservices.NewWorkspaceConnection(ctx, "workspaceConnectionResource", &machinelearningservices.WorkspaceConnectionArgs{
ResourceGroupName: "string",
WorkspaceName: "string",
AuthType: "string",
Category: "string",
ConnectionName: "string",
Name: "string",
Target: "string",
Value: "string",
ValueFormat: "string",
})
var workspaceConnectionResource = new WorkspaceConnection("workspaceConnectionResource", WorkspaceConnectionArgs.builder()
.resourceGroupName("string")
.workspaceName("string")
.authType("string")
.category("string")
.connectionName("string")
.name("string")
.target("string")
.value("string")
.valueFormat("string")
.build());
workspace_connection_resource = azure_native.machinelearningservices.WorkspaceConnection("workspaceConnectionResource",
resource_group_name=string,
workspace_name=string,
auth_type=string,
category=string,
connection_name=string,
name=string,
target=string,
value=string,
value_format=string)
const workspaceConnectionResource = new azure_native.machinelearningservices.WorkspaceConnection("workspaceConnectionResource", {
resourceGroupName: "string",
workspaceName: "string",
authType: "string",
category: "string",
connectionName: "string",
name: "string",
target: "string",
value: "string",
valueFormat: "string",
});
type: azure-native:machinelearningservices:WorkspaceConnection
properties:
authType: string
category: string
connectionName: string
name: string
resourceGroupName: string
target: string
value: string
valueFormat: string
workspaceName: string
WorkspaceConnection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WorkspaceConnection resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group in which workspace is located.
- Workspace
Name This property is required. Changes to this property will trigger replacement.
- Name of Azure Machine Learning workspace.
- Auth
Type string - Authorization type of the workspace connection.
- Category string
- Category of the workspace connection.
- Connection
Name Changes to this property will trigger replacement.
- Friendly name of the workspace connection
- Name string
- Friendly name of the workspace connection
- Target string
- Target of the workspace connection.
- Value string
- Value details of the workspace connection.
- Value
Format string | Pulumi.Azure Native. Machine Learning Services. Value Format - format for the workspace connection value
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group in which workspace is located.
- Workspace
Name This property is required. Changes to this property will trigger replacement.
- Name of Azure Machine Learning workspace.
- Auth
Type string - Authorization type of the workspace connection.
- Category string
- Category of the workspace connection.
- Connection
Name Changes to this property will trigger replacement.
- Friendly name of the workspace connection
- Name string
- Friendly name of the workspace connection
- Target string
- Target of the workspace connection.
- Value string
- Value details of the workspace connection.
- Value
Format string | ValueFormat - format for the workspace connection value
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group in which workspace is located.
- workspace
Name This property is required. Changes to this property will trigger replacement.
- Name of Azure Machine Learning workspace.
- auth
Type String - Authorization type of the workspace connection.
- category String
- Category of the workspace connection.
- connection
Name Changes to this property will trigger replacement.
- Friendly name of the workspace connection
- name String
- Friendly name of the workspace connection
- target String
- Target of the workspace connection.
- value String
- Value details of the workspace connection.
- value
Format String | ValueFormat - format for the workspace connection value
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group in which workspace is located.
- workspace
Name This property is required. Changes to this property will trigger replacement.
- Name of Azure Machine Learning workspace.
- auth
Type string - Authorization type of the workspace connection.
- category string
- Category of the workspace connection.
- connection
Name Changes to this property will trigger replacement.
- Friendly name of the workspace connection
- name string
- Friendly name of the workspace connection
- target string
- Target of the workspace connection.
- value string
- Value details of the workspace connection.
- value
Format string | ValueFormat - format for the workspace connection value
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the resource group in which workspace is located.
- workspace_
name This property is required. Changes to this property will trigger replacement.
- Name of Azure Machine Learning workspace.
- auth_
type str - Authorization type of the workspace connection.
- category str
- Category of the workspace connection.
- connection_
name Changes to this property will trigger replacement.
- Friendly name of the workspace connection
- name str
- Friendly name of the workspace connection
- target str
- Target of the workspace connection.
- value str
- Value details of the workspace connection.
- value_
format str | ValueFormat - format for the workspace connection value
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group in which workspace is located.
- workspace
Name This property is required. Changes to this property will trigger replacement.
- Name of Azure Machine Learning workspace.
- auth
Type String - Authorization type of the workspace connection.
- category String
- Category of the workspace connection.
- connection
Name Changes to this property will trigger replacement.
- Friendly name of the workspace connection
- name String
- Friendly name of the workspace connection
- target String
- Target of the workspace connection.
- value String
- Value details of the workspace connection.
- value
Format String | "JSON" - format for the workspace connection value
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkspaceConnection resource produces the following output properties:
Supporting Types
ValueFormat, ValueFormatArgs
- JSON
- JSON
- Value
Format JSON - JSON
- JSON
- JSON
- JSON
- JSON
- JSON
- JSON
- "JSON"
- JSON
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:machinelearningservices:WorkspaceConnection connection-1 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0