WorkspaceAadAdmin
Workspace active directory administrator
Example Usage
Create or update workspace active directory admin
using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;
class MyStack : Stack
{
public MyStack()
{
var workspaceAadAdmin = new AzureNextGen.Synapse.V20190601Preview.WorkspaceAadAdmin("workspaceAadAdmin", new AzureNextGen.Synapse.V20190601Preview.WorkspaceAadAdminArgs
{
AdministratorType = "ActiveDirectory",
Login = "bob@contoso.com",
ResourceGroupName = "resourceGroup1",
Sid = "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c",
TenantId = "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c",
WorkspaceName = "workspace1",
});
}
}
package main
import (
synapse "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/synapse/v20190601preview"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := synapse.NewWorkspaceAadAdmin(ctx, "workspaceAadAdmin", &synapse.WorkspaceAadAdminArgs{
AdministratorType: pulumi.String("ActiveDirectory"),
Login: pulumi.String("bob@contoso.com"),
ResourceGroupName: pulumi.String("resourceGroup1"),
Sid: pulumi.String("c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c"),
TenantId: pulumi.String("c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c"),
WorkspaceName: pulumi.String("workspace1"),
})
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen
workspace_aad_admin = azure_nextgen.synapse.v20190601preview.WorkspaceAadAdmin("workspaceAadAdmin",
administrator_type="ActiveDirectory",
login="bob@contoso.com",
resource_group_name="resourceGroup1",
sid="c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c",
tenant_id="c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c",
workspace_name="workspace1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";
const workspaceAadAdmin = new azure_nextgen.synapse.v20190601preview.WorkspaceAadAdmin("workspaceAadAdmin", {
administratorType: "ActiveDirectory",
login: "bob@contoso.com",
resourceGroupName: "resourceGroup1",
sid: "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c",
tenantId: "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c",
workspaceName: "workspace1",
});
Create a WorkspaceAadAdmin Resource
new WorkspaceAadAdmin(name: string, args: WorkspaceAadAdminArgs, opts?: CustomResourceOptions);
def WorkspaceAadAdmin(resource_name: str, opts: Optional[ResourceOptions] = None, administrator_type: Optional[str] = None, login: Optional[str] = None, resource_group_name: Optional[str] = None, sid: Optional[str] = None, tenant_id: Optional[str] = None, workspace_name: Optional[str] = None)
func NewWorkspaceAadAdmin(ctx *Context, name string, args WorkspaceAadAdminArgs, opts ...ResourceOption) (*WorkspaceAadAdmin, error)
public WorkspaceAadAdmin(string name, WorkspaceAadAdminArgs args, CustomResourceOptions? opts = null)
- name string
- The unique name of the resource.
- args WorkspaceAadAdminArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WorkspaceAadAdminArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkspaceAadAdminArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
WorkspaceAadAdmin Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The WorkspaceAadAdmin resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace
- Administrator
Type string - Workspace active directory administrator type
- Login string
- Login of the workspace active directory administrator
- Sid string
- Object ID of the workspace active directory administrator
- Tenant
Id string - Tenant ID of the workspace active directory administrator
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace
- Administrator
Type string - Workspace active directory administrator type
- Login string
- Login of the workspace active directory administrator
- Sid string
- Object ID of the workspace active directory administrator
- Tenant
Id string - Tenant ID of the workspace active directory administrator
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name string - The name of the workspace
- administrator
Type string - Workspace active directory administrator type
- login string
- Login of the workspace active directory administrator
- sid string
- Object ID of the workspace active directory administrator
- tenant
Id string - Tenant ID of the workspace active directory administrator
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- workspace_
name str - The name of the workspace
- administrator_
type str - Workspace active directory administrator type
- login str
- Login of the workspace active directory administrator
- sid str
- Object ID of the workspace active directory administrator
- tenant_
id str - Tenant ID of the workspace active directory administrator
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkspaceAadAdmin resource produces the following output properties:
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-nextgen:synapse/v20190601preview:WorkspaceAadAdmin activeDirectory /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/administrators/activeDirectory
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-nextgen
- License
- Apache-2.0