devcenter

package
v6.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachedNetwork added in v6.6.0

type AttachedNetwork struct {
	pulumi.CustomResourceState

	// The ID of the associated Dev Center. Changing this forces a new resource to be created.
	DevCenterId pulumi.StringOutput `pulumi:"devCenterId"`
	// Specifies the name of this Dev Center Attached Network. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Dev Center Network Connection you want to attach. Changing this forces a new resource to be created.
	NetworkConnectionId pulumi.StringOutput `pulumi:"networkConnectionId"`
}

Manages a Dev Center Attached Network.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-dcan"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("example-vnet"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("internal"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/24"),
			},
		})
		if err != nil {
			return err
		}
		exampleDevCenter, err := devcenter.NewDevCenter(ctx, "example", &devcenter.DevCenterArgs{
			Name:              pulumi.String("example-dc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Identity: &devcenter.DevCenterIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleNetworkConnection, err := devcenter.NewNetworkConnection(ctx, "example", &devcenter.NetworkConnectionArgs{
			Name:              pulumi.String("example-dcnc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			DomainJoinType:    pulumi.String("AzureADJoin"),
			SubnetId:          exampleSubnet.ID(),
		})
		if err != nil {
			return err
		}
		_, err = devcenter.NewAttachedNetwork(ctx, "example", &devcenter.AttachedNetworkArgs{
			Name:                pulumi.String("example-dcet"),
			DevCenterId:         exampleDevCenter.ID(),
			NetworkConnectionId: exampleNetworkConnection.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An existing Dev Center Attached Network can be imported into Pulumi using the `resource id`, e.g.

```sh $ pulumi import azure:devcenter/attachedNetwork:AttachedNetwork example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/devCenters/dc1/attachedNetworks/et1 ```

func GetAttachedNetwork added in v6.6.0

func GetAttachedNetwork(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AttachedNetworkState, opts ...pulumi.ResourceOption) (*AttachedNetwork, error)

GetAttachedNetwork gets an existing AttachedNetwork resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAttachedNetwork added in v6.6.0

func NewAttachedNetwork(ctx *pulumi.Context,
	name string, args *AttachedNetworkArgs, opts ...pulumi.ResourceOption) (*AttachedNetwork, error)

NewAttachedNetwork registers a new resource with the given unique name, arguments, and options.

func (*AttachedNetwork) ElementType added in v6.6.0

func (*AttachedNetwork) ElementType() reflect.Type

func (*AttachedNetwork) ToAttachedNetworkOutput added in v6.6.0

func (i *AttachedNetwork) ToAttachedNetworkOutput() AttachedNetworkOutput

func (*AttachedNetwork) ToAttachedNetworkOutputWithContext added in v6.6.0

func (i *AttachedNetwork) ToAttachedNetworkOutputWithContext(ctx context.Context) AttachedNetworkOutput

type AttachedNetworkArgs added in v6.6.0

type AttachedNetworkArgs struct {
	// The ID of the associated Dev Center. Changing this forces a new resource to be created.
	DevCenterId pulumi.StringInput
	// Specifies the name of this Dev Center Attached Network. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The ID of the Dev Center Network Connection you want to attach. Changing this forces a new resource to be created.
	NetworkConnectionId pulumi.StringInput
}

The set of arguments for constructing a AttachedNetwork resource.

func (AttachedNetworkArgs) ElementType added in v6.6.0

func (AttachedNetworkArgs) ElementType() reflect.Type

type AttachedNetworkArray added in v6.6.0

type AttachedNetworkArray []AttachedNetworkInput

func (AttachedNetworkArray) ElementType added in v6.6.0

func (AttachedNetworkArray) ElementType() reflect.Type

func (AttachedNetworkArray) ToAttachedNetworkArrayOutput added in v6.6.0

func (i AttachedNetworkArray) ToAttachedNetworkArrayOutput() AttachedNetworkArrayOutput

func (AttachedNetworkArray) ToAttachedNetworkArrayOutputWithContext added in v6.6.0

func (i AttachedNetworkArray) ToAttachedNetworkArrayOutputWithContext(ctx context.Context) AttachedNetworkArrayOutput

type AttachedNetworkArrayInput added in v6.6.0

type AttachedNetworkArrayInput interface {
	pulumi.Input

	ToAttachedNetworkArrayOutput() AttachedNetworkArrayOutput
	ToAttachedNetworkArrayOutputWithContext(context.Context) AttachedNetworkArrayOutput
}

AttachedNetworkArrayInput is an input type that accepts AttachedNetworkArray and AttachedNetworkArrayOutput values. You can construct a concrete instance of `AttachedNetworkArrayInput` via:

AttachedNetworkArray{ AttachedNetworkArgs{...} }

type AttachedNetworkArrayOutput added in v6.6.0

type AttachedNetworkArrayOutput struct{ *pulumi.OutputState }

func (AttachedNetworkArrayOutput) ElementType added in v6.6.0

func (AttachedNetworkArrayOutput) ElementType() reflect.Type

func (AttachedNetworkArrayOutput) Index added in v6.6.0

func (AttachedNetworkArrayOutput) ToAttachedNetworkArrayOutput added in v6.6.0

func (o AttachedNetworkArrayOutput) ToAttachedNetworkArrayOutput() AttachedNetworkArrayOutput

func (AttachedNetworkArrayOutput) ToAttachedNetworkArrayOutputWithContext added in v6.6.0

func (o AttachedNetworkArrayOutput) ToAttachedNetworkArrayOutputWithContext(ctx context.Context) AttachedNetworkArrayOutput

type AttachedNetworkInput added in v6.6.0

type AttachedNetworkInput interface {
	pulumi.Input

	ToAttachedNetworkOutput() AttachedNetworkOutput
	ToAttachedNetworkOutputWithContext(ctx context.Context) AttachedNetworkOutput
}

type AttachedNetworkMap added in v6.6.0

type AttachedNetworkMap map[string]AttachedNetworkInput

func (AttachedNetworkMap) ElementType added in v6.6.0

func (AttachedNetworkMap) ElementType() reflect.Type

func (AttachedNetworkMap) ToAttachedNetworkMapOutput added in v6.6.0

func (i AttachedNetworkMap) ToAttachedNetworkMapOutput() AttachedNetworkMapOutput

func (AttachedNetworkMap) ToAttachedNetworkMapOutputWithContext added in v6.6.0

func (i AttachedNetworkMap) ToAttachedNetworkMapOutputWithContext(ctx context.Context) AttachedNetworkMapOutput

type AttachedNetworkMapInput added in v6.6.0

type AttachedNetworkMapInput interface {
	pulumi.Input

	ToAttachedNetworkMapOutput() AttachedNetworkMapOutput
	ToAttachedNetworkMapOutputWithContext(context.Context) AttachedNetworkMapOutput
}

AttachedNetworkMapInput is an input type that accepts AttachedNetworkMap and AttachedNetworkMapOutput values. You can construct a concrete instance of `AttachedNetworkMapInput` via:

AttachedNetworkMap{ "key": AttachedNetworkArgs{...} }

type AttachedNetworkMapOutput added in v6.6.0

type AttachedNetworkMapOutput struct{ *pulumi.OutputState }

func (AttachedNetworkMapOutput) ElementType added in v6.6.0

func (AttachedNetworkMapOutput) ElementType() reflect.Type

func (AttachedNetworkMapOutput) MapIndex added in v6.6.0

func (AttachedNetworkMapOutput) ToAttachedNetworkMapOutput added in v6.6.0

func (o AttachedNetworkMapOutput) ToAttachedNetworkMapOutput() AttachedNetworkMapOutput

func (AttachedNetworkMapOutput) ToAttachedNetworkMapOutputWithContext added in v6.6.0

func (o AttachedNetworkMapOutput) ToAttachedNetworkMapOutputWithContext(ctx context.Context) AttachedNetworkMapOutput

type AttachedNetworkOutput added in v6.6.0

type AttachedNetworkOutput struct{ *pulumi.OutputState }

func (AttachedNetworkOutput) DevCenterId added in v6.6.0

func (o AttachedNetworkOutput) DevCenterId() pulumi.StringOutput

The ID of the associated Dev Center. Changing this forces a new resource to be created.

func (AttachedNetworkOutput) ElementType added in v6.6.0

func (AttachedNetworkOutput) ElementType() reflect.Type

func (AttachedNetworkOutput) Name added in v6.6.0

Specifies the name of this Dev Center Attached Network. Changing this forces a new resource to be created.

func (AttachedNetworkOutput) NetworkConnectionId added in v6.6.0

func (o AttachedNetworkOutput) NetworkConnectionId() pulumi.StringOutput

The ID of the Dev Center Network Connection you want to attach. Changing this forces a new resource to be created.

func (AttachedNetworkOutput) ToAttachedNetworkOutput added in v6.6.0

func (o AttachedNetworkOutput) ToAttachedNetworkOutput() AttachedNetworkOutput

func (AttachedNetworkOutput) ToAttachedNetworkOutputWithContext added in v6.6.0

func (o AttachedNetworkOutput) ToAttachedNetworkOutputWithContext(ctx context.Context) AttachedNetworkOutput

type AttachedNetworkState added in v6.6.0

type AttachedNetworkState struct {
	// The ID of the associated Dev Center. Changing this forces a new resource to be created.
	DevCenterId pulumi.StringPtrInput
	// Specifies the name of this Dev Center Attached Network. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The ID of the Dev Center Network Connection you want to attach. Changing this forces a new resource to be created.
	NetworkConnectionId pulumi.StringPtrInput
}

func (AttachedNetworkState) ElementType added in v6.6.0

func (AttachedNetworkState) ElementType() reflect.Type

type Catalog

type Catalog struct {
	pulumi.CustomResourceState

	CatalogAdogit     CatalogCatalogAdogitPtrOutput `pulumi:"catalogAdogit"`
	CatalogGithub     CatalogCatalogGithubPtrOutput `pulumi:"catalogGithub"`
	DevCenterId       pulumi.StringOutput           `pulumi:"devCenterId"`
	Name              pulumi.StringOutput           `pulumi:"name"`
	ResourceGroupName pulumi.StringOutput           `pulumi:"resourceGroupName"`
}

func GetCatalog

func GetCatalog(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CatalogState, opts ...pulumi.ResourceOption) (*Catalog, error)

GetCatalog gets an existing Catalog resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCatalog

func NewCatalog(ctx *pulumi.Context,
	name string, args *CatalogArgs, opts ...pulumi.ResourceOption) (*Catalog, error)

NewCatalog registers a new resource with the given unique name, arguments, and options.

func (*Catalog) ElementType

func (*Catalog) ElementType() reflect.Type

func (*Catalog) ToCatalogOutput

func (i *Catalog) ToCatalogOutput() CatalogOutput

func (*Catalog) ToCatalogOutputWithContext

func (i *Catalog) ToCatalogOutputWithContext(ctx context.Context) CatalogOutput

type CatalogArgs

type CatalogArgs struct {
	CatalogAdogit     CatalogCatalogAdogitPtrInput
	CatalogGithub     CatalogCatalogGithubPtrInput
	DevCenterId       pulumi.StringInput
	Name              pulumi.StringPtrInput
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a Catalog resource.

func (CatalogArgs) ElementType

func (CatalogArgs) ElementType() reflect.Type

type CatalogArray

type CatalogArray []CatalogInput

func (CatalogArray) ElementType

func (CatalogArray) ElementType() reflect.Type

func (CatalogArray) ToCatalogArrayOutput

func (i CatalogArray) ToCatalogArrayOutput() CatalogArrayOutput

func (CatalogArray) ToCatalogArrayOutputWithContext

func (i CatalogArray) ToCatalogArrayOutputWithContext(ctx context.Context) CatalogArrayOutput

type CatalogArrayInput

type CatalogArrayInput interface {
	pulumi.Input

	ToCatalogArrayOutput() CatalogArrayOutput
	ToCatalogArrayOutputWithContext(context.Context) CatalogArrayOutput
}

CatalogArrayInput is an input type that accepts CatalogArray and CatalogArrayOutput values. You can construct a concrete instance of `CatalogArrayInput` via:

CatalogArray{ CatalogArgs{...} }

type CatalogArrayOutput

type CatalogArrayOutput struct{ *pulumi.OutputState }

func (CatalogArrayOutput) ElementType

func (CatalogArrayOutput) ElementType() reflect.Type

func (CatalogArrayOutput) Index

func (CatalogArrayOutput) ToCatalogArrayOutput

func (o CatalogArrayOutput) ToCatalogArrayOutput() CatalogArrayOutput

func (CatalogArrayOutput) ToCatalogArrayOutputWithContext

func (o CatalogArrayOutput) ToCatalogArrayOutputWithContext(ctx context.Context) CatalogArrayOutput

type CatalogCatalogAdogit

type CatalogCatalogAdogit struct {
	Branch         string `pulumi:"branch"`
	KeyVaultKeyUrl string `pulumi:"keyVaultKeyUrl"`
	Path           string `pulumi:"path"`
	Uri            string `pulumi:"uri"`
}

type CatalogCatalogAdogitArgs

type CatalogCatalogAdogitArgs struct {
	Branch         pulumi.StringInput `pulumi:"branch"`
	KeyVaultKeyUrl pulumi.StringInput `pulumi:"keyVaultKeyUrl"`
	Path           pulumi.StringInput `pulumi:"path"`
	Uri            pulumi.StringInput `pulumi:"uri"`
}

func (CatalogCatalogAdogitArgs) ElementType

func (CatalogCatalogAdogitArgs) ElementType() reflect.Type

func (CatalogCatalogAdogitArgs) ToCatalogCatalogAdogitOutput

func (i CatalogCatalogAdogitArgs) ToCatalogCatalogAdogitOutput() CatalogCatalogAdogitOutput

func (CatalogCatalogAdogitArgs) ToCatalogCatalogAdogitOutputWithContext

func (i CatalogCatalogAdogitArgs) ToCatalogCatalogAdogitOutputWithContext(ctx context.Context) CatalogCatalogAdogitOutput

func (CatalogCatalogAdogitArgs) ToCatalogCatalogAdogitPtrOutput

func (i CatalogCatalogAdogitArgs) ToCatalogCatalogAdogitPtrOutput() CatalogCatalogAdogitPtrOutput

func (CatalogCatalogAdogitArgs) ToCatalogCatalogAdogitPtrOutputWithContext

func (i CatalogCatalogAdogitArgs) ToCatalogCatalogAdogitPtrOutputWithContext(ctx context.Context) CatalogCatalogAdogitPtrOutput

type CatalogCatalogAdogitInput

type CatalogCatalogAdogitInput interface {
	pulumi.Input

	ToCatalogCatalogAdogitOutput() CatalogCatalogAdogitOutput
	ToCatalogCatalogAdogitOutputWithContext(context.Context) CatalogCatalogAdogitOutput
}

CatalogCatalogAdogitInput is an input type that accepts CatalogCatalogAdogitArgs and CatalogCatalogAdogitOutput values. You can construct a concrete instance of `CatalogCatalogAdogitInput` via:

CatalogCatalogAdogitArgs{...}

type CatalogCatalogAdogitOutput

type CatalogCatalogAdogitOutput struct{ *pulumi.OutputState }

func (CatalogCatalogAdogitOutput) Branch

func (CatalogCatalogAdogitOutput) ElementType

func (CatalogCatalogAdogitOutput) ElementType() reflect.Type

func (CatalogCatalogAdogitOutput) KeyVaultKeyUrl

func (o CatalogCatalogAdogitOutput) KeyVaultKeyUrl() pulumi.StringOutput

func (CatalogCatalogAdogitOutput) Path

func (CatalogCatalogAdogitOutput) ToCatalogCatalogAdogitOutput

func (o CatalogCatalogAdogitOutput) ToCatalogCatalogAdogitOutput() CatalogCatalogAdogitOutput

func (CatalogCatalogAdogitOutput) ToCatalogCatalogAdogitOutputWithContext

func (o CatalogCatalogAdogitOutput) ToCatalogCatalogAdogitOutputWithContext(ctx context.Context) CatalogCatalogAdogitOutput

func (CatalogCatalogAdogitOutput) ToCatalogCatalogAdogitPtrOutput

func (o CatalogCatalogAdogitOutput) ToCatalogCatalogAdogitPtrOutput() CatalogCatalogAdogitPtrOutput

func (CatalogCatalogAdogitOutput) ToCatalogCatalogAdogitPtrOutputWithContext

func (o CatalogCatalogAdogitOutput) ToCatalogCatalogAdogitPtrOutputWithContext(ctx context.Context) CatalogCatalogAdogitPtrOutput

func (CatalogCatalogAdogitOutput) Uri

type CatalogCatalogAdogitPtrInput

type CatalogCatalogAdogitPtrInput interface {
	pulumi.Input

	ToCatalogCatalogAdogitPtrOutput() CatalogCatalogAdogitPtrOutput
	ToCatalogCatalogAdogitPtrOutputWithContext(context.Context) CatalogCatalogAdogitPtrOutput
}

CatalogCatalogAdogitPtrInput is an input type that accepts CatalogCatalogAdogitArgs, CatalogCatalogAdogitPtr and CatalogCatalogAdogitPtrOutput values. You can construct a concrete instance of `CatalogCatalogAdogitPtrInput` via:

        CatalogCatalogAdogitArgs{...}

or:

        nil

type CatalogCatalogAdogitPtrOutput

type CatalogCatalogAdogitPtrOutput struct{ *pulumi.OutputState }

func (CatalogCatalogAdogitPtrOutput) Branch

func (CatalogCatalogAdogitPtrOutput) Elem

func (CatalogCatalogAdogitPtrOutput) ElementType

func (CatalogCatalogAdogitPtrOutput) KeyVaultKeyUrl

func (CatalogCatalogAdogitPtrOutput) Path

func (CatalogCatalogAdogitPtrOutput) ToCatalogCatalogAdogitPtrOutput

func (o CatalogCatalogAdogitPtrOutput) ToCatalogCatalogAdogitPtrOutput() CatalogCatalogAdogitPtrOutput

func (CatalogCatalogAdogitPtrOutput) ToCatalogCatalogAdogitPtrOutputWithContext

func (o CatalogCatalogAdogitPtrOutput) ToCatalogCatalogAdogitPtrOutputWithContext(ctx context.Context) CatalogCatalogAdogitPtrOutput

func (CatalogCatalogAdogitPtrOutput) Uri

type CatalogCatalogGithub

type CatalogCatalogGithub struct {
	Branch         string `pulumi:"branch"`
	KeyVaultKeyUrl string `pulumi:"keyVaultKeyUrl"`
	Path           string `pulumi:"path"`
	Uri            string `pulumi:"uri"`
}

type CatalogCatalogGithubArgs

type CatalogCatalogGithubArgs struct {
	Branch         pulumi.StringInput `pulumi:"branch"`
	KeyVaultKeyUrl pulumi.StringInput `pulumi:"keyVaultKeyUrl"`
	Path           pulumi.StringInput `pulumi:"path"`
	Uri            pulumi.StringInput `pulumi:"uri"`
}

func (CatalogCatalogGithubArgs) ElementType

func (CatalogCatalogGithubArgs) ElementType() reflect.Type

func (CatalogCatalogGithubArgs) ToCatalogCatalogGithubOutput

func (i CatalogCatalogGithubArgs) ToCatalogCatalogGithubOutput() CatalogCatalogGithubOutput

func (CatalogCatalogGithubArgs) ToCatalogCatalogGithubOutputWithContext

func (i CatalogCatalogGithubArgs) ToCatalogCatalogGithubOutputWithContext(ctx context.Context) CatalogCatalogGithubOutput

func (CatalogCatalogGithubArgs) ToCatalogCatalogGithubPtrOutput

func (i CatalogCatalogGithubArgs) ToCatalogCatalogGithubPtrOutput() CatalogCatalogGithubPtrOutput

func (CatalogCatalogGithubArgs) ToCatalogCatalogGithubPtrOutputWithContext

func (i CatalogCatalogGithubArgs) ToCatalogCatalogGithubPtrOutputWithContext(ctx context.Context) CatalogCatalogGithubPtrOutput

type CatalogCatalogGithubInput

type CatalogCatalogGithubInput interface {
	pulumi.Input

	ToCatalogCatalogGithubOutput() CatalogCatalogGithubOutput
	ToCatalogCatalogGithubOutputWithContext(context.Context) CatalogCatalogGithubOutput
}

CatalogCatalogGithubInput is an input type that accepts CatalogCatalogGithubArgs and CatalogCatalogGithubOutput values. You can construct a concrete instance of `CatalogCatalogGithubInput` via:

CatalogCatalogGithubArgs{...}

type CatalogCatalogGithubOutput

type CatalogCatalogGithubOutput struct{ *pulumi.OutputState }

func (CatalogCatalogGithubOutput) Branch

func (CatalogCatalogGithubOutput) ElementType

func (CatalogCatalogGithubOutput) ElementType() reflect.Type

func (CatalogCatalogGithubOutput) KeyVaultKeyUrl

func (o CatalogCatalogGithubOutput) KeyVaultKeyUrl() pulumi.StringOutput

func (CatalogCatalogGithubOutput) Path

func (CatalogCatalogGithubOutput) ToCatalogCatalogGithubOutput

func (o CatalogCatalogGithubOutput) ToCatalogCatalogGithubOutput() CatalogCatalogGithubOutput

func (CatalogCatalogGithubOutput) ToCatalogCatalogGithubOutputWithContext

func (o CatalogCatalogGithubOutput) ToCatalogCatalogGithubOutputWithContext(ctx context.Context) CatalogCatalogGithubOutput

func (CatalogCatalogGithubOutput) ToCatalogCatalogGithubPtrOutput

func (o CatalogCatalogGithubOutput) ToCatalogCatalogGithubPtrOutput() CatalogCatalogGithubPtrOutput

func (CatalogCatalogGithubOutput) ToCatalogCatalogGithubPtrOutputWithContext

func (o CatalogCatalogGithubOutput) ToCatalogCatalogGithubPtrOutputWithContext(ctx context.Context) CatalogCatalogGithubPtrOutput

func (CatalogCatalogGithubOutput) Uri

type CatalogCatalogGithubPtrInput

type CatalogCatalogGithubPtrInput interface {
	pulumi.Input

	ToCatalogCatalogGithubPtrOutput() CatalogCatalogGithubPtrOutput
	ToCatalogCatalogGithubPtrOutputWithContext(context.Context) CatalogCatalogGithubPtrOutput
}

CatalogCatalogGithubPtrInput is an input type that accepts CatalogCatalogGithubArgs, CatalogCatalogGithubPtr and CatalogCatalogGithubPtrOutput values. You can construct a concrete instance of `CatalogCatalogGithubPtrInput` via:

        CatalogCatalogGithubArgs{...}

or:

        nil

type CatalogCatalogGithubPtrOutput

type CatalogCatalogGithubPtrOutput struct{ *pulumi.OutputState }

func (CatalogCatalogGithubPtrOutput) Branch

func (CatalogCatalogGithubPtrOutput) Elem

func (CatalogCatalogGithubPtrOutput) ElementType

func (CatalogCatalogGithubPtrOutput) KeyVaultKeyUrl

func (CatalogCatalogGithubPtrOutput) Path

func (CatalogCatalogGithubPtrOutput) ToCatalogCatalogGithubPtrOutput

func (o CatalogCatalogGithubPtrOutput) ToCatalogCatalogGithubPtrOutput() CatalogCatalogGithubPtrOutput

func (CatalogCatalogGithubPtrOutput) ToCatalogCatalogGithubPtrOutputWithContext

func (o CatalogCatalogGithubPtrOutput) ToCatalogCatalogGithubPtrOutputWithContext(ctx context.Context) CatalogCatalogGithubPtrOutput

func (CatalogCatalogGithubPtrOutput) Uri

type CatalogInput

type CatalogInput interface {
	pulumi.Input

	ToCatalogOutput() CatalogOutput
	ToCatalogOutputWithContext(ctx context.Context) CatalogOutput
}

type CatalogMap

type CatalogMap map[string]CatalogInput

func (CatalogMap) ElementType

func (CatalogMap) ElementType() reflect.Type

func (CatalogMap) ToCatalogMapOutput

func (i CatalogMap) ToCatalogMapOutput() CatalogMapOutput

func (CatalogMap) ToCatalogMapOutputWithContext

func (i CatalogMap) ToCatalogMapOutputWithContext(ctx context.Context) CatalogMapOutput

type CatalogMapInput

type CatalogMapInput interface {
	pulumi.Input

	ToCatalogMapOutput() CatalogMapOutput
	ToCatalogMapOutputWithContext(context.Context) CatalogMapOutput
}

CatalogMapInput is an input type that accepts CatalogMap and CatalogMapOutput values. You can construct a concrete instance of `CatalogMapInput` via:

CatalogMap{ "key": CatalogArgs{...} }

type CatalogMapOutput

type CatalogMapOutput struct{ *pulumi.OutputState }

func (CatalogMapOutput) ElementType

func (CatalogMapOutput) ElementType() reflect.Type

func (CatalogMapOutput) MapIndex

func (CatalogMapOutput) ToCatalogMapOutput

func (o CatalogMapOutput) ToCatalogMapOutput() CatalogMapOutput

func (CatalogMapOutput) ToCatalogMapOutputWithContext

func (o CatalogMapOutput) ToCatalogMapOutputWithContext(ctx context.Context) CatalogMapOutput

type CatalogOutput

type CatalogOutput struct{ *pulumi.OutputState }

func (CatalogOutput) CatalogAdogit

func (o CatalogOutput) CatalogAdogit() CatalogCatalogAdogitPtrOutput

func (CatalogOutput) CatalogGithub

func (o CatalogOutput) CatalogGithub() CatalogCatalogGithubPtrOutput

func (CatalogOutput) DevCenterId

func (o CatalogOutput) DevCenterId() pulumi.StringOutput

func (CatalogOutput) ElementType

func (CatalogOutput) ElementType() reflect.Type

func (CatalogOutput) Name

func (CatalogOutput) ResourceGroupName

func (o CatalogOutput) ResourceGroupName() pulumi.StringOutput

func (CatalogOutput) ToCatalogOutput

func (o CatalogOutput) ToCatalogOutput() CatalogOutput

func (CatalogOutput) ToCatalogOutputWithContext

func (o CatalogOutput) ToCatalogOutputWithContext(ctx context.Context) CatalogOutput

type CatalogState

type CatalogState struct {
	CatalogAdogit     CatalogCatalogAdogitPtrInput
	CatalogGithub     CatalogCatalogGithubPtrInput
	DevCenterId       pulumi.StringPtrInput
	Name              pulumi.StringPtrInput
	ResourceGroupName pulumi.StringPtrInput
}

func (CatalogState) ElementType

func (CatalogState) ElementType() reflect.Type

type DevBoxDefinition

type DevBoxDefinition struct {
	pulumi.CustomResourceState

	// The ID of the associated Dev Center. Changing this forces a new resource to be created.
	DevCenterId pulumi.StringOutput `pulumi:"devCenterId"`
	// The ID of the image for the Dev Center Dev Box Definition.
	ImageReferenceId pulumi.StringOutput `pulumi:"imageReferenceId"`
	// The Azure Region where the Dev Center Dev Box Definition should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of this Dev Center Dev Box Definition. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the SKU for the Dev Center Dev Box Definition.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// A mapping of tags which should be assigned to the Dev Center Dev Box Definition.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Dev Center Dev Box Definition.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleDevCenter, err := devcenter.NewDevCenter(ctx, "example", &devcenter.DevCenterArgs{
			Name:              pulumi.String("example-dc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Identity: &devcenter.DevCenterIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = devcenter.NewDevBoxDefinition(ctx, "example", &devcenter.DevBoxDefinitionArgs{
			Name:        pulumi.String("example-dcet"),
			Location:    example.Location,
			DevCenterId: exampleDevCenter.ID(),
			ImageReferenceId: exampleDevCenter.ID().ApplyT(func(id string) (string, error) {
				return fmt.Sprintf("%v/galleries/default/images/microsoftvisualstudio_visualstudioplustools_vs-2022-ent-general-win10-m365-gen2", id), nil
			}).(pulumi.StringOutput),
			SkuName: pulumi.String("general_i_8c32gb256ssd_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An existing Dev Center Dev Box Definition can be imported into Pulumi using the `resource id`, e.g.

```sh $ pulumi import azure:devcenter/devBoxDefinition:DevBoxDefinition example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/devCenters/dc1/devBoxDefinitions/et1 ```

func GetDevBoxDefinition

func GetDevBoxDefinition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DevBoxDefinitionState, opts ...pulumi.ResourceOption) (*DevBoxDefinition, error)

GetDevBoxDefinition gets an existing DevBoxDefinition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDevBoxDefinition

func NewDevBoxDefinition(ctx *pulumi.Context,
	name string, args *DevBoxDefinitionArgs, opts ...pulumi.ResourceOption) (*DevBoxDefinition, error)

NewDevBoxDefinition registers a new resource with the given unique name, arguments, and options.

func (*DevBoxDefinition) ElementType

func (*DevBoxDefinition) ElementType() reflect.Type

func (*DevBoxDefinition) ToDevBoxDefinitionOutput

func (i *DevBoxDefinition) ToDevBoxDefinitionOutput() DevBoxDefinitionOutput

func (*DevBoxDefinition) ToDevBoxDefinitionOutputWithContext

func (i *DevBoxDefinition) ToDevBoxDefinitionOutputWithContext(ctx context.Context) DevBoxDefinitionOutput

type DevBoxDefinitionArgs

type DevBoxDefinitionArgs struct {
	// The ID of the associated Dev Center. Changing this forces a new resource to be created.
	DevCenterId pulumi.StringInput
	// The ID of the image for the Dev Center Dev Box Definition.
	ImageReferenceId pulumi.StringInput
	// The Azure Region where the Dev Center Dev Box Definition should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Dev Center Dev Box Definition. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the SKU for the Dev Center Dev Box Definition.
	SkuName pulumi.StringInput
	// A mapping of tags which should be assigned to the Dev Center Dev Box Definition.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a DevBoxDefinition resource.

func (DevBoxDefinitionArgs) ElementType

func (DevBoxDefinitionArgs) ElementType() reflect.Type

type DevBoxDefinitionArray

type DevBoxDefinitionArray []DevBoxDefinitionInput

func (DevBoxDefinitionArray) ElementType

func (DevBoxDefinitionArray) ElementType() reflect.Type

func (DevBoxDefinitionArray) ToDevBoxDefinitionArrayOutput

func (i DevBoxDefinitionArray) ToDevBoxDefinitionArrayOutput() DevBoxDefinitionArrayOutput

func (DevBoxDefinitionArray) ToDevBoxDefinitionArrayOutputWithContext

func (i DevBoxDefinitionArray) ToDevBoxDefinitionArrayOutputWithContext(ctx context.Context) DevBoxDefinitionArrayOutput

type DevBoxDefinitionArrayInput

type DevBoxDefinitionArrayInput interface {
	pulumi.Input

	ToDevBoxDefinitionArrayOutput() DevBoxDefinitionArrayOutput
	ToDevBoxDefinitionArrayOutputWithContext(context.Context) DevBoxDefinitionArrayOutput
}

DevBoxDefinitionArrayInput is an input type that accepts DevBoxDefinitionArray and DevBoxDefinitionArrayOutput values. You can construct a concrete instance of `DevBoxDefinitionArrayInput` via:

DevBoxDefinitionArray{ DevBoxDefinitionArgs{...} }

type DevBoxDefinitionArrayOutput

type DevBoxDefinitionArrayOutput struct{ *pulumi.OutputState }

func (DevBoxDefinitionArrayOutput) ElementType

func (DevBoxDefinitionArrayOutput) Index

func (DevBoxDefinitionArrayOutput) ToDevBoxDefinitionArrayOutput

func (o DevBoxDefinitionArrayOutput) ToDevBoxDefinitionArrayOutput() DevBoxDefinitionArrayOutput

func (DevBoxDefinitionArrayOutput) ToDevBoxDefinitionArrayOutputWithContext

func (o DevBoxDefinitionArrayOutput) ToDevBoxDefinitionArrayOutputWithContext(ctx context.Context) DevBoxDefinitionArrayOutput

type DevBoxDefinitionInput

type DevBoxDefinitionInput interface {
	pulumi.Input

	ToDevBoxDefinitionOutput() DevBoxDefinitionOutput
	ToDevBoxDefinitionOutputWithContext(ctx context.Context) DevBoxDefinitionOutput
}

type DevBoxDefinitionMap

type DevBoxDefinitionMap map[string]DevBoxDefinitionInput

func (DevBoxDefinitionMap) ElementType

func (DevBoxDefinitionMap) ElementType() reflect.Type

func (DevBoxDefinitionMap) ToDevBoxDefinitionMapOutput

func (i DevBoxDefinitionMap) ToDevBoxDefinitionMapOutput() DevBoxDefinitionMapOutput

func (DevBoxDefinitionMap) ToDevBoxDefinitionMapOutputWithContext

func (i DevBoxDefinitionMap) ToDevBoxDefinitionMapOutputWithContext(ctx context.Context) DevBoxDefinitionMapOutput

type DevBoxDefinitionMapInput

type DevBoxDefinitionMapInput interface {
	pulumi.Input

	ToDevBoxDefinitionMapOutput() DevBoxDefinitionMapOutput
	ToDevBoxDefinitionMapOutputWithContext(context.Context) DevBoxDefinitionMapOutput
}

DevBoxDefinitionMapInput is an input type that accepts DevBoxDefinitionMap and DevBoxDefinitionMapOutput values. You can construct a concrete instance of `DevBoxDefinitionMapInput` via:

DevBoxDefinitionMap{ "key": DevBoxDefinitionArgs{...} }

type DevBoxDefinitionMapOutput

type DevBoxDefinitionMapOutput struct{ *pulumi.OutputState }

func (DevBoxDefinitionMapOutput) ElementType

func (DevBoxDefinitionMapOutput) ElementType() reflect.Type

func (DevBoxDefinitionMapOutput) MapIndex

func (DevBoxDefinitionMapOutput) ToDevBoxDefinitionMapOutput

func (o DevBoxDefinitionMapOutput) ToDevBoxDefinitionMapOutput() DevBoxDefinitionMapOutput

func (DevBoxDefinitionMapOutput) ToDevBoxDefinitionMapOutputWithContext

func (o DevBoxDefinitionMapOutput) ToDevBoxDefinitionMapOutputWithContext(ctx context.Context) DevBoxDefinitionMapOutput

type DevBoxDefinitionOutput

type DevBoxDefinitionOutput struct{ *pulumi.OutputState }

func (DevBoxDefinitionOutput) DevCenterId

func (o DevBoxDefinitionOutput) DevCenterId() pulumi.StringOutput

The ID of the associated Dev Center. Changing this forces a new resource to be created.

func (DevBoxDefinitionOutput) ElementType

func (DevBoxDefinitionOutput) ElementType() reflect.Type

func (DevBoxDefinitionOutput) ImageReferenceId

func (o DevBoxDefinitionOutput) ImageReferenceId() pulumi.StringOutput

The ID of the image for the Dev Center Dev Box Definition.

func (DevBoxDefinitionOutput) Location

The Azure Region where the Dev Center Dev Box Definition should exist. Changing this forces a new resource to be created.

func (DevBoxDefinitionOutput) Name

Specifies the name of this Dev Center Dev Box Definition. Changing this forces a new resource to be created.

func (DevBoxDefinitionOutput) SkuName

The name of the SKU for the Dev Center Dev Box Definition.

func (DevBoxDefinitionOutput) Tags

A mapping of tags which should be assigned to the Dev Center Dev Box Definition.

func (DevBoxDefinitionOutput) ToDevBoxDefinitionOutput

func (o DevBoxDefinitionOutput) ToDevBoxDefinitionOutput() DevBoxDefinitionOutput

func (DevBoxDefinitionOutput) ToDevBoxDefinitionOutputWithContext

func (o DevBoxDefinitionOutput) ToDevBoxDefinitionOutputWithContext(ctx context.Context) DevBoxDefinitionOutput

type DevBoxDefinitionState

type DevBoxDefinitionState struct {
	// The ID of the associated Dev Center. Changing this forces a new resource to be created.
	DevCenterId pulumi.StringPtrInput
	// The ID of the image for the Dev Center Dev Box Definition.
	ImageReferenceId pulumi.StringPtrInput
	// The Azure Region where the Dev Center Dev Box Definition should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Dev Center Dev Box Definition. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the SKU for the Dev Center Dev Box Definition.
	SkuName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Dev Center Dev Box Definition.
	Tags pulumi.StringMapInput
}

func (DevBoxDefinitionState) ElementType

func (DevBoxDefinitionState) ElementType() reflect.Type

type DevCenter

type DevCenter struct {
	pulumi.CustomResourceState

	// The URI of the Dev Center.
	DevCenterUri pulumi.StringOutput `pulumi:"devCenterUri"`
	// An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Dev Center.
	Identity DevCenterIdentityPtrOutput `pulumi:"identity"`
	// The Azure Region where the Dev Center should exist. Changing this forces a new Dev Center to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of this Dev Center. Changing this forces a new Dev Center to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the name of the Resource Group within which this Dev Center should exist. Changing this forces a new Dev Center to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags which should be assigned to the Dev Center.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

<!-- Note: This documentation is generated. Any manual changes will be overwritten -->

Manages a Dev Center.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = authorization.NewUserAssignedIdentity(ctx, "example", &authorization.UserAssignedIdentityArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
		})
		if err != nil {
			return err
		}
		_, err = devcenter.NewDevCenter(ctx, "example", &devcenter.DevCenterArgs{
			Location:          example.Location,
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Blocks Reference

### `identity` Block

The `identity` block supports the following arguments:

* `type` - (Required) Specifies the type of Managed Identity that should be assigned to this Dev Center. Possible values are `SystemAssigned`, `SystemAssigned, UserAssigned` and `UserAssigned`. * `identityIds` - (Optional) A list of the User Assigned Identity IDs that should be assigned to this Dev Center.

In addition to the arguments defined above, the `identity` block exports the following attributes:

* `principalId` - The Principal ID for the System-Assigned Managed Identity assigned to this Dev Center. * `tenantId` - The Tenant ID for the System-Assigned Managed Identity assigned to this Dev Center.

## Import

An existing Dev Center can be imported into Pulumi using the `resource id`, e.g.

```sh $ pulumi import azure:devcenter/devCenter:DevCenter example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devCenters/{devCenterName} ```

* Where `{subscriptionId}` is the ID of the Azure Subscription where the Dev Center exists. For example `12345678-1234-9876-4563-123456789012`.

* Where `{resourceGroupName}` is the name of Resource Group where this Dev Center exists. For example `example-resource-group`.

* Where `{devCenterName}` is the name of the Dev Center. For example `devCenterValue`.

func GetDevCenter

func GetDevCenter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DevCenterState, opts ...pulumi.ResourceOption) (*DevCenter, error)

GetDevCenter gets an existing DevCenter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDevCenter

func NewDevCenter(ctx *pulumi.Context,
	name string, args *DevCenterArgs, opts ...pulumi.ResourceOption) (*DevCenter, error)

NewDevCenter registers a new resource with the given unique name, arguments, and options.

func (*DevCenter) ElementType

func (*DevCenter) ElementType() reflect.Type

func (*DevCenter) ToDevCenterOutput

func (i *DevCenter) ToDevCenterOutput() DevCenterOutput

func (*DevCenter) ToDevCenterOutputWithContext

func (i *DevCenter) ToDevCenterOutputWithContext(ctx context.Context) DevCenterOutput

type DevCenterArgs

type DevCenterArgs struct {
	// An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Dev Center.
	Identity DevCenterIdentityPtrInput
	// The Azure Region where the Dev Center should exist. Changing this forces a new Dev Center to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Dev Center. Changing this forces a new Dev Center to be created.
	Name pulumi.StringPtrInput
	// Specifies the name of the Resource Group within which this Dev Center should exist. Changing this forces a new Dev Center to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags which should be assigned to the Dev Center.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a DevCenter resource.

func (DevCenterArgs) ElementType

func (DevCenterArgs) ElementType() reflect.Type

type DevCenterArray

type DevCenterArray []DevCenterInput

func (DevCenterArray) ElementType

func (DevCenterArray) ElementType() reflect.Type

func (DevCenterArray) ToDevCenterArrayOutput

func (i DevCenterArray) ToDevCenterArrayOutput() DevCenterArrayOutput

func (DevCenterArray) ToDevCenterArrayOutputWithContext

func (i DevCenterArray) ToDevCenterArrayOutputWithContext(ctx context.Context) DevCenterArrayOutput

type DevCenterArrayInput

type DevCenterArrayInput interface {
	pulumi.Input

	ToDevCenterArrayOutput() DevCenterArrayOutput
	ToDevCenterArrayOutputWithContext(context.Context) DevCenterArrayOutput
}

DevCenterArrayInput is an input type that accepts DevCenterArray and DevCenterArrayOutput values. You can construct a concrete instance of `DevCenterArrayInput` via:

DevCenterArray{ DevCenterArgs{...} }

type DevCenterArrayOutput

type DevCenterArrayOutput struct{ *pulumi.OutputState }

func (DevCenterArrayOutput) ElementType

func (DevCenterArrayOutput) ElementType() reflect.Type

func (DevCenterArrayOutput) Index

func (DevCenterArrayOutput) ToDevCenterArrayOutput

func (o DevCenterArrayOutput) ToDevCenterArrayOutput() DevCenterArrayOutput

func (DevCenterArrayOutput) ToDevCenterArrayOutputWithContext

func (o DevCenterArrayOutput) ToDevCenterArrayOutputWithContext(ctx context.Context) DevCenterArrayOutput

type DevCenterIdentity

type DevCenterIdentity struct {
	IdentityIds []string `pulumi:"identityIds"`
	PrincipalId *string  `pulumi:"principalId"`
	TenantId    *string  `pulumi:"tenantId"`
	Type        string   `pulumi:"type"`
}

type DevCenterIdentityArgs

type DevCenterIdentityArgs struct {
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	PrincipalId pulumi.StringPtrInput   `pulumi:"principalId"`
	TenantId    pulumi.StringPtrInput   `pulumi:"tenantId"`
	Type        pulumi.StringInput      `pulumi:"type"`
}

func (DevCenterIdentityArgs) ElementType

func (DevCenterIdentityArgs) ElementType() reflect.Type

func (DevCenterIdentityArgs) ToDevCenterIdentityOutput

func (i DevCenterIdentityArgs) ToDevCenterIdentityOutput() DevCenterIdentityOutput

func (DevCenterIdentityArgs) ToDevCenterIdentityOutputWithContext

func (i DevCenterIdentityArgs) ToDevCenterIdentityOutputWithContext(ctx context.Context) DevCenterIdentityOutput

func (DevCenterIdentityArgs) ToDevCenterIdentityPtrOutput

func (i DevCenterIdentityArgs) ToDevCenterIdentityPtrOutput() DevCenterIdentityPtrOutput

func (DevCenterIdentityArgs) ToDevCenterIdentityPtrOutputWithContext

func (i DevCenterIdentityArgs) ToDevCenterIdentityPtrOutputWithContext(ctx context.Context) DevCenterIdentityPtrOutput

type DevCenterIdentityInput

type DevCenterIdentityInput interface {
	pulumi.Input

	ToDevCenterIdentityOutput() DevCenterIdentityOutput
	ToDevCenterIdentityOutputWithContext(context.Context) DevCenterIdentityOutput
}

DevCenterIdentityInput is an input type that accepts DevCenterIdentityArgs and DevCenterIdentityOutput values. You can construct a concrete instance of `DevCenterIdentityInput` via:

DevCenterIdentityArgs{...}

type DevCenterIdentityOutput

type DevCenterIdentityOutput struct{ *pulumi.OutputState }

func (DevCenterIdentityOutput) ElementType

func (DevCenterIdentityOutput) ElementType() reflect.Type

func (DevCenterIdentityOutput) IdentityIds

func (DevCenterIdentityOutput) PrincipalId

func (DevCenterIdentityOutput) TenantId

func (DevCenterIdentityOutput) ToDevCenterIdentityOutput

func (o DevCenterIdentityOutput) ToDevCenterIdentityOutput() DevCenterIdentityOutput

func (DevCenterIdentityOutput) ToDevCenterIdentityOutputWithContext

func (o DevCenterIdentityOutput) ToDevCenterIdentityOutputWithContext(ctx context.Context) DevCenterIdentityOutput

func (DevCenterIdentityOutput) ToDevCenterIdentityPtrOutput

func (o DevCenterIdentityOutput) ToDevCenterIdentityPtrOutput() DevCenterIdentityPtrOutput

func (DevCenterIdentityOutput) ToDevCenterIdentityPtrOutputWithContext

func (o DevCenterIdentityOutput) ToDevCenterIdentityPtrOutputWithContext(ctx context.Context) DevCenterIdentityPtrOutput

func (DevCenterIdentityOutput) Type

type DevCenterIdentityPtrInput

type DevCenterIdentityPtrInput interface {
	pulumi.Input

	ToDevCenterIdentityPtrOutput() DevCenterIdentityPtrOutput
	ToDevCenterIdentityPtrOutputWithContext(context.Context) DevCenterIdentityPtrOutput
}

DevCenterIdentityPtrInput is an input type that accepts DevCenterIdentityArgs, DevCenterIdentityPtr and DevCenterIdentityPtrOutput values. You can construct a concrete instance of `DevCenterIdentityPtrInput` via:

        DevCenterIdentityArgs{...}

or:

        nil

type DevCenterIdentityPtrOutput

type DevCenterIdentityPtrOutput struct{ *pulumi.OutputState }

func (DevCenterIdentityPtrOutput) Elem

func (DevCenterIdentityPtrOutput) ElementType

func (DevCenterIdentityPtrOutput) ElementType() reflect.Type

func (DevCenterIdentityPtrOutput) IdentityIds

func (DevCenterIdentityPtrOutput) PrincipalId

func (DevCenterIdentityPtrOutput) TenantId

func (DevCenterIdentityPtrOutput) ToDevCenterIdentityPtrOutput

func (o DevCenterIdentityPtrOutput) ToDevCenterIdentityPtrOutput() DevCenterIdentityPtrOutput

func (DevCenterIdentityPtrOutput) ToDevCenterIdentityPtrOutputWithContext

func (o DevCenterIdentityPtrOutput) ToDevCenterIdentityPtrOutputWithContext(ctx context.Context) DevCenterIdentityPtrOutput

func (DevCenterIdentityPtrOutput) Type

type DevCenterInput

type DevCenterInput interface {
	pulumi.Input

	ToDevCenterOutput() DevCenterOutput
	ToDevCenterOutputWithContext(ctx context.Context) DevCenterOutput
}

type DevCenterMap

type DevCenterMap map[string]DevCenterInput

func (DevCenterMap) ElementType

func (DevCenterMap) ElementType() reflect.Type

func (DevCenterMap) ToDevCenterMapOutput

func (i DevCenterMap) ToDevCenterMapOutput() DevCenterMapOutput

func (DevCenterMap) ToDevCenterMapOutputWithContext

func (i DevCenterMap) ToDevCenterMapOutputWithContext(ctx context.Context) DevCenterMapOutput

type DevCenterMapInput

type DevCenterMapInput interface {
	pulumi.Input

	ToDevCenterMapOutput() DevCenterMapOutput
	ToDevCenterMapOutputWithContext(context.Context) DevCenterMapOutput
}

DevCenterMapInput is an input type that accepts DevCenterMap and DevCenterMapOutput values. You can construct a concrete instance of `DevCenterMapInput` via:

DevCenterMap{ "key": DevCenterArgs{...} }

type DevCenterMapOutput

type DevCenterMapOutput struct{ *pulumi.OutputState }

func (DevCenterMapOutput) ElementType

func (DevCenterMapOutput) ElementType() reflect.Type

func (DevCenterMapOutput) MapIndex

func (DevCenterMapOutput) ToDevCenterMapOutput

func (o DevCenterMapOutput) ToDevCenterMapOutput() DevCenterMapOutput

func (DevCenterMapOutput) ToDevCenterMapOutputWithContext

func (o DevCenterMapOutput) ToDevCenterMapOutputWithContext(ctx context.Context) DevCenterMapOutput

type DevCenterOutput

type DevCenterOutput struct{ *pulumi.OutputState }

func (DevCenterOutput) DevCenterUri

func (o DevCenterOutput) DevCenterUri() pulumi.StringOutput

The URI of the Dev Center.

func (DevCenterOutput) ElementType

func (DevCenterOutput) ElementType() reflect.Type

func (DevCenterOutput) Identity

An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Dev Center.

func (DevCenterOutput) Location

func (o DevCenterOutput) Location() pulumi.StringOutput

The Azure Region where the Dev Center should exist. Changing this forces a new Dev Center to be created.

func (DevCenterOutput) Name

Specifies the name of this Dev Center. Changing this forces a new Dev Center to be created.

func (DevCenterOutput) ResourceGroupName

func (o DevCenterOutput) ResourceGroupName() pulumi.StringOutput

Specifies the name of the Resource Group within which this Dev Center should exist. Changing this forces a new Dev Center to be created.

func (DevCenterOutput) Tags

A mapping of tags which should be assigned to the Dev Center.

func (DevCenterOutput) ToDevCenterOutput

func (o DevCenterOutput) ToDevCenterOutput() DevCenterOutput

func (DevCenterOutput) ToDevCenterOutputWithContext

func (o DevCenterOutput) ToDevCenterOutputWithContext(ctx context.Context) DevCenterOutput

type DevCenterState

type DevCenterState struct {
	// The URI of the Dev Center.
	DevCenterUri pulumi.StringPtrInput
	// An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Dev Center.
	Identity DevCenterIdentityPtrInput
	// The Azure Region where the Dev Center should exist. Changing this forces a new Dev Center to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Dev Center. Changing this forces a new Dev Center to be created.
	Name pulumi.StringPtrInput
	// Specifies the name of the Resource Group within which this Dev Center should exist. Changing this forces a new Dev Center to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Dev Center.
	Tags pulumi.StringMapInput
}

func (DevCenterState) ElementType

func (DevCenterState) ElementType() reflect.Type

type EnvironmentType

type EnvironmentType struct {
	pulumi.CustomResourceState

	// The ID of the associated Dev Center. Changing this forces a new resource to be created.
	DevCenterId pulumi.StringOutput `pulumi:"devCenterId"`
	// Specifies the name of this Dev Center Environment Type. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A mapping of tags which should be assigned to the Dev Center Environment Type.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Dev Center Environment Type.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleDevCenter, err := devcenter.NewDevCenter(ctx, "example", &devcenter.DevCenterArgs{
			Name:              pulumi.String("example-dc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Identity: &devcenter.DevCenterIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = devcenter.NewEnvironmentType(ctx, "example", &devcenter.EnvironmentTypeArgs{
			Name:        pulumi.String("example-dcet"),
			DevCenterId: exampleDevCenter.ID(),
			Tags: pulumi.StringMap{
				"Env": pulumi.String("Test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An existing Dev Center Environment Type can be imported into Pulumi using the `resource id`, e.g.

```sh $ pulumi import azure:devcenter/environmentType:EnvironmentType example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/devCenters/dc1/environmentTypes/et1 ```

func GetEnvironmentType

func GetEnvironmentType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnvironmentTypeState, opts ...pulumi.ResourceOption) (*EnvironmentType, error)

GetEnvironmentType gets an existing EnvironmentType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEnvironmentType

func NewEnvironmentType(ctx *pulumi.Context,
	name string, args *EnvironmentTypeArgs, opts ...pulumi.ResourceOption) (*EnvironmentType, error)

NewEnvironmentType registers a new resource with the given unique name, arguments, and options.

func (*EnvironmentType) ElementType

func (*EnvironmentType) ElementType() reflect.Type

func (*EnvironmentType) ToEnvironmentTypeOutput

func (i *EnvironmentType) ToEnvironmentTypeOutput() EnvironmentTypeOutput

func (*EnvironmentType) ToEnvironmentTypeOutputWithContext

func (i *EnvironmentType) ToEnvironmentTypeOutputWithContext(ctx context.Context) EnvironmentTypeOutput

type EnvironmentTypeArgs

type EnvironmentTypeArgs struct {
	// The ID of the associated Dev Center. Changing this forces a new resource to be created.
	DevCenterId pulumi.StringInput
	// Specifies the name of this Dev Center Environment Type. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Dev Center Environment Type.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a EnvironmentType resource.

func (EnvironmentTypeArgs) ElementType

func (EnvironmentTypeArgs) ElementType() reflect.Type

type EnvironmentTypeArray

type EnvironmentTypeArray []EnvironmentTypeInput

func (EnvironmentTypeArray) ElementType

func (EnvironmentTypeArray) ElementType() reflect.Type

func (EnvironmentTypeArray) ToEnvironmentTypeArrayOutput

func (i EnvironmentTypeArray) ToEnvironmentTypeArrayOutput() EnvironmentTypeArrayOutput

func (EnvironmentTypeArray) ToEnvironmentTypeArrayOutputWithContext

func (i EnvironmentTypeArray) ToEnvironmentTypeArrayOutputWithContext(ctx context.Context) EnvironmentTypeArrayOutput

type EnvironmentTypeArrayInput

type EnvironmentTypeArrayInput interface {
	pulumi.Input

	ToEnvironmentTypeArrayOutput() EnvironmentTypeArrayOutput
	ToEnvironmentTypeArrayOutputWithContext(context.Context) EnvironmentTypeArrayOutput
}

EnvironmentTypeArrayInput is an input type that accepts EnvironmentTypeArray and EnvironmentTypeArrayOutput values. You can construct a concrete instance of `EnvironmentTypeArrayInput` via:

EnvironmentTypeArray{ EnvironmentTypeArgs{...} }

type EnvironmentTypeArrayOutput

type EnvironmentTypeArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentTypeArrayOutput) ElementType

func (EnvironmentTypeArrayOutput) ElementType() reflect.Type

func (EnvironmentTypeArrayOutput) Index

func (EnvironmentTypeArrayOutput) ToEnvironmentTypeArrayOutput

func (o EnvironmentTypeArrayOutput) ToEnvironmentTypeArrayOutput() EnvironmentTypeArrayOutput

func (EnvironmentTypeArrayOutput) ToEnvironmentTypeArrayOutputWithContext

func (o EnvironmentTypeArrayOutput) ToEnvironmentTypeArrayOutputWithContext(ctx context.Context) EnvironmentTypeArrayOutput

type EnvironmentTypeInput

type EnvironmentTypeInput interface {
	pulumi.Input

	ToEnvironmentTypeOutput() EnvironmentTypeOutput
	ToEnvironmentTypeOutputWithContext(ctx context.Context) EnvironmentTypeOutput
}

type EnvironmentTypeMap

type EnvironmentTypeMap map[string]EnvironmentTypeInput

func (EnvironmentTypeMap) ElementType

func (EnvironmentTypeMap) ElementType() reflect.Type

func (EnvironmentTypeMap) ToEnvironmentTypeMapOutput

func (i EnvironmentTypeMap) ToEnvironmentTypeMapOutput() EnvironmentTypeMapOutput

func (EnvironmentTypeMap) ToEnvironmentTypeMapOutputWithContext

func (i EnvironmentTypeMap) ToEnvironmentTypeMapOutputWithContext(ctx context.Context) EnvironmentTypeMapOutput

type EnvironmentTypeMapInput

type EnvironmentTypeMapInput interface {
	pulumi.Input

	ToEnvironmentTypeMapOutput() EnvironmentTypeMapOutput
	ToEnvironmentTypeMapOutputWithContext(context.Context) EnvironmentTypeMapOutput
}

EnvironmentTypeMapInput is an input type that accepts EnvironmentTypeMap and EnvironmentTypeMapOutput values. You can construct a concrete instance of `EnvironmentTypeMapInput` via:

EnvironmentTypeMap{ "key": EnvironmentTypeArgs{...} }

type EnvironmentTypeMapOutput

type EnvironmentTypeMapOutput struct{ *pulumi.OutputState }

func (EnvironmentTypeMapOutput) ElementType

func (EnvironmentTypeMapOutput) ElementType() reflect.Type

func (EnvironmentTypeMapOutput) MapIndex

func (EnvironmentTypeMapOutput) ToEnvironmentTypeMapOutput

func (o EnvironmentTypeMapOutput) ToEnvironmentTypeMapOutput() EnvironmentTypeMapOutput

func (EnvironmentTypeMapOutput) ToEnvironmentTypeMapOutputWithContext

func (o EnvironmentTypeMapOutput) ToEnvironmentTypeMapOutputWithContext(ctx context.Context) EnvironmentTypeMapOutput

type EnvironmentTypeOutput

type EnvironmentTypeOutput struct{ *pulumi.OutputState }

func (EnvironmentTypeOutput) DevCenterId

func (o EnvironmentTypeOutput) DevCenterId() pulumi.StringOutput

The ID of the associated Dev Center. Changing this forces a new resource to be created.

func (EnvironmentTypeOutput) ElementType

func (EnvironmentTypeOutput) ElementType() reflect.Type

func (EnvironmentTypeOutput) Name

Specifies the name of this Dev Center Environment Type. Changing this forces a new resource to be created.

func (EnvironmentTypeOutput) Tags

A mapping of tags which should be assigned to the Dev Center Environment Type.

func (EnvironmentTypeOutput) ToEnvironmentTypeOutput

func (o EnvironmentTypeOutput) ToEnvironmentTypeOutput() EnvironmentTypeOutput

func (EnvironmentTypeOutput) ToEnvironmentTypeOutputWithContext

func (o EnvironmentTypeOutput) ToEnvironmentTypeOutputWithContext(ctx context.Context) EnvironmentTypeOutput

type EnvironmentTypeState

type EnvironmentTypeState struct {
	// The ID of the associated Dev Center. Changing this forces a new resource to be created.
	DevCenterId pulumi.StringPtrInput
	// Specifies the name of this Dev Center Environment Type. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Dev Center Environment Type.
	Tags pulumi.StringMapInput
}

func (EnvironmentTypeState) ElementType

func (EnvironmentTypeState) ElementType() reflect.Type
type Gallery struct {
	pulumi.CustomResourceState

	// Specifies the ID of the Dev Center within which this Dev Center Gallery should exist. Changing this forces a new Dev Center Gallery to be created.
	DevCenterId pulumi.StringOutput `pulumi:"devCenterId"`
	// Specifies the name of this Dev Center Gallery. Changing this forces a new Dev Center Gallery to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Shared Gallery which should be connected to the Dev Center Gallery. Changing this forces a new Dev Center Gallery to be created.
	SharedGalleryId pulumi.StringOutput `pulumi:"sharedGalleryId"`
}

Manages a Dev Center Gallery.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/compute"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		testUserAssignedIdentity, err := authorization.NewUserAssignedIdentity(ctx, "test", &authorization.UserAssignedIdentityArgs{
			Name:              pulumi.String("example-uai"),
			Location:          pulumi.Any(testAzurermResourceGroup.Location),
			ResourceGroupName: pulumi.Any(testAzurermResourceGroup.Name),
		})
		if err != nil {
			return err
		}
		_, err = devcenter.NewDevCenter(ctx, "test", &devcenter.DevCenterArgs{
			Name:              pulumi.String("example-devcenter"),
			ResourceGroupName: pulumi.Any(testAzurermResourceGroup.Name),
			Location:          pulumi.Any(testAzurermResourceGroup.Location),
			Identity: &devcenter.DevCenterIdentityArgs{
				Type: pulumi.String("UserAssigned"),
				IdentityIds: pulumi.StringArray{
					testUserAssignedIdentity.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleSharedImageGallery, err := compute.NewSharedImageGallery(ctx, "example", &compute.SharedImageGalleryArgs{
			Name:              pulumi.String("example-image-gallery"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		_, err = devcenter.NewGallery(ctx, "example", &devcenter.GalleryArgs{
			DevCenterId:     pulumi.Any(exampleAzurermDevCenter.Id),
			SharedGalleryId: exampleSharedImageGallery.ID(),
			Name:            pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An existing Dev Center Gallery can be imported into Pulumi using the `resource id`, e.g.

```sh $ pulumi import azure:devcenter/gallery:Gallery example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devCenters/{devCenterName}/galleries/{galleryName} ```

* Where `{subscriptionId}` is the ID of the Azure Subscription where the Dev Center Gallery exists. For example `12345678-1234-9876-4563-123456789012`.

* Where `{resourceGroupName}` is the name of Resource Group where this Dev Center Gallery exists. For example `example-resource-group`.

* Where `{devCenterName}` is the name of the Dev Center. For example `devCenterValue`.

* Where `{galleryName}` is the name of the Gallery. For example `galleryValue`.

func GetGallery

func GetGallery(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GalleryState, opts ...pulumi.ResourceOption) (*Gallery, error)

GetGallery gets an existing Gallery resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGallery

func NewGallery(ctx *pulumi.Context,
	name string, args *GalleryArgs, opts ...pulumi.ResourceOption) (*Gallery, error)

NewGallery registers a new resource with the given unique name, arguments, and options.

func (*Gallery) ElementType

func (*Gallery) ElementType() reflect.Type

func (*Gallery) ToGalleryOutput

func (i *Gallery) ToGalleryOutput() GalleryOutput

func (*Gallery) ToGalleryOutputWithContext

func (i *Gallery) ToGalleryOutputWithContext(ctx context.Context) GalleryOutput

type GalleryArgs

type GalleryArgs struct {
	// Specifies the ID of the Dev Center within which this Dev Center Gallery should exist. Changing this forces a new Dev Center Gallery to be created.
	DevCenterId pulumi.StringInput
	// Specifies the name of this Dev Center Gallery. Changing this forces a new Dev Center Gallery to be created.
	Name pulumi.StringPtrInput
	// The ID of the Shared Gallery which should be connected to the Dev Center Gallery. Changing this forces a new Dev Center Gallery to be created.
	SharedGalleryId pulumi.StringInput
}

The set of arguments for constructing a Gallery resource.

func (GalleryArgs) ElementType

func (GalleryArgs) ElementType() reflect.Type

type GalleryArray

type GalleryArray []GalleryInput

func (GalleryArray) ElementType

func (GalleryArray) ElementType() reflect.Type

func (GalleryArray) ToGalleryArrayOutput

func (i GalleryArray) ToGalleryArrayOutput() GalleryArrayOutput

func (GalleryArray) ToGalleryArrayOutputWithContext

func (i GalleryArray) ToGalleryArrayOutputWithContext(ctx context.Context) GalleryArrayOutput

type GalleryArrayInput

type GalleryArrayInput interface {
	pulumi.Input

	ToGalleryArrayOutput() GalleryArrayOutput
	ToGalleryArrayOutputWithContext(context.Context) GalleryArrayOutput
}

GalleryArrayInput is an input type that accepts GalleryArray and GalleryArrayOutput values. You can construct a concrete instance of `GalleryArrayInput` via:

GalleryArray{ GalleryArgs{...} }

type GalleryArrayOutput

type GalleryArrayOutput struct{ *pulumi.OutputState }

func (GalleryArrayOutput) ElementType

func (GalleryArrayOutput) ElementType() reflect.Type

func (GalleryArrayOutput) Index

func (GalleryArrayOutput) ToGalleryArrayOutput

func (o GalleryArrayOutput) ToGalleryArrayOutput() GalleryArrayOutput

func (GalleryArrayOutput) ToGalleryArrayOutputWithContext

func (o GalleryArrayOutput) ToGalleryArrayOutputWithContext(ctx context.Context) GalleryArrayOutput

type GalleryInput

type GalleryInput interface {
	pulumi.Input

	ToGalleryOutput() GalleryOutput
	ToGalleryOutputWithContext(ctx context.Context) GalleryOutput
}

type GalleryMap

type GalleryMap map[string]GalleryInput

func (GalleryMap) ElementType

func (GalleryMap) ElementType() reflect.Type

func (GalleryMap) ToGalleryMapOutput

func (i GalleryMap) ToGalleryMapOutput() GalleryMapOutput

func (GalleryMap) ToGalleryMapOutputWithContext

func (i GalleryMap) ToGalleryMapOutputWithContext(ctx context.Context) GalleryMapOutput

type GalleryMapInput

type GalleryMapInput interface {
	pulumi.Input

	ToGalleryMapOutput() GalleryMapOutput
	ToGalleryMapOutputWithContext(context.Context) GalleryMapOutput
}

GalleryMapInput is an input type that accepts GalleryMap and GalleryMapOutput values. You can construct a concrete instance of `GalleryMapInput` via:

GalleryMap{ "key": GalleryArgs{...} }

type GalleryMapOutput

type GalleryMapOutput struct{ *pulumi.OutputState }

func (GalleryMapOutput) ElementType

func (GalleryMapOutput) ElementType() reflect.Type

func (GalleryMapOutput) MapIndex

func (GalleryMapOutput) ToGalleryMapOutput

func (o GalleryMapOutput) ToGalleryMapOutput() GalleryMapOutput

func (GalleryMapOutput) ToGalleryMapOutputWithContext

func (o GalleryMapOutput) ToGalleryMapOutputWithContext(ctx context.Context) GalleryMapOutput

type GalleryOutput

type GalleryOutput struct{ *pulumi.OutputState }

func (GalleryOutput) DevCenterId

func (o GalleryOutput) DevCenterId() pulumi.StringOutput

Specifies the ID of the Dev Center within which this Dev Center Gallery should exist. Changing this forces a new Dev Center Gallery to be created.

func (GalleryOutput) ElementType

func (GalleryOutput) ElementType() reflect.Type

func (GalleryOutput) Name

Specifies the name of this Dev Center Gallery. Changing this forces a new Dev Center Gallery to be created.

func (GalleryOutput) SharedGalleryId

func (o GalleryOutput) SharedGalleryId() pulumi.StringOutput

The ID of the Shared Gallery which should be connected to the Dev Center Gallery. Changing this forces a new Dev Center Gallery to be created.

func (GalleryOutput) ToGalleryOutput

func (o GalleryOutput) ToGalleryOutput() GalleryOutput

func (GalleryOutput) ToGalleryOutputWithContext

func (o GalleryOutput) ToGalleryOutputWithContext(ctx context.Context) GalleryOutput

type GalleryState

type GalleryState struct {
	// Specifies the ID of the Dev Center within which this Dev Center Gallery should exist. Changing this forces a new Dev Center Gallery to be created.
	DevCenterId pulumi.StringPtrInput
	// Specifies the name of this Dev Center Gallery. Changing this forces a new Dev Center Gallery to be created.
	Name pulumi.StringPtrInput
	// The ID of the Shared Gallery which should be connected to the Dev Center Gallery. Changing this forces a new Dev Center Gallery to be created.
	SharedGalleryId pulumi.StringPtrInput
}

func (GalleryState) ElementType

func (GalleryState) ElementType() reflect.Type

type NetworkConnection

type NetworkConnection struct {
	pulumi.CustomResourceState

	// The Azure Active Directory Join type. Possible values are `AzureADJoin` and `HybridAzureADJoin`. Changing this forces a new resource to be created.
	DomainJoinType pulumi.StringOutput `pulumi:"domainJoinType"`
	// The name of the Azure Active Directory domain.
	DomainName pulumi.StringPtrOutput `pulumi:"domainName"`
	// The password for the account used to join domain.
	DomainPassword pulumi.StringPtrOutput `pulumi:"domainPassword"`
	// The username of the Azure Active Directory account (user or service account) that has permissions to create computer objects in Active Directory.
	DomainUsername pulumi.StringPtrOutput `pulumi:"domainUsername"`
	// The Azure Region where the Dev Center Network Connection should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of this Dev Center Network Connection. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Azure Active Directory domain Organization Unit (OU).
	OrganizationUnit pulumi.StringPtrOutput `pulumi:"organizationUnit"`
	// Specifies the name of the Resource Group within which this Dev Center Network Connection should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The ID of the Subnet that is used to attach Virtual Machines.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// A mapping of tags which should be assigned to the Dev Center Network Connection.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Dev Center Network Connection.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("example-vnet"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("internal"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/24"),
			},
		})
		if err != nil {
			return err
		}
		_, err = devcenter.NewNetworkConnection(ctx, "example", &devcenter.NetworkConnectionArgs{
			Name:              pulumi.String("example-dcnc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			DomainJoinType:    pulumi.String("AzureADJoin"),
			SubnetId:          exampleSubnet.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An existing Dev Center Network Connection can be imported into Pulumi using the `resource id`, e.g.

```sh $ pulumi import azure:devcenter/networkConnection:NetworkConnection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/networkConnections/networkConnection1 ```

func GetNetworkConnection

func GetNetworkConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkConnectionState, opts ...pulumi.ResourceOption) (*NetworkConnection, error)

GetNetworkConnection gets an existing NetworkConnection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkConnection

func NewNetworkConnection(ctx *pulumi.Context,
	name string, args *NetworkConnectionArgs, opts ...pulumi.ResourceOption) (*NetworkConnection, error)

NewNetworkConnection registers a new resource with the given unique name, arguments, and options.

func (*NetworkConnection) ElementType

func (*NetworkConnection) ElementType() reflect.Type

func (*NetworkConnection) ToNetworkConnectionOutput

func (i *NetworkConnection) ToNetworkConnectionOutput() NetworkConnectionOutput

func (*NetworkConnection) ToNetworkConnectionOutputWithContext

func (i *NetworkConnection) ToNetworkConnectionOutputWithContext(ctx context.Context) NetworkConnectionOutput

type NetworkConnectionArgs

type NetworkConnectionArgs struct {
	// The Azure Active Directory Join type. Possible values are `AzureADJoin` and `HybridAzureADJoin`. Changing this forces a new resource to be created.
	DomainJoinType pulumi.StringInput
	// The name of the Azure Active Directory domain.
	DomainName pulumi.StringPtrInput
	// The password for the account used to join domain.
	DomainPassword pulumi.StringPtrInput
	// The username of the Azure Active Directory account (user or service account) that has permissions to create computer objects in Active Directory.
	DomainUsername pulumi.StringPtrInput
	// The Azure Region where the Dev Center Network Connection should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Dev Center Network Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The Azure Active Directory domain Organization Unit (OU).
	OrganizationUnit pulumi.StringPtrInput
	// Specifies the name of the Resource Group within which this Dev Center Network Connection should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The ID of the Subnet that is used to attach Virtual Machines.
	SubnetId pulumi.StringInput
	// A mapping of tags which should be assigned to the Dev Center Network Connection.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a NetworkConnection resource.

func (NetworkConnectionArgs) ElementType

func (NetworkConnectionArgs) ElementType() reflect.Type

type NetworkConnectionArray

type NetworkConnectionArray []NetworkConnectionInput

func (NetworkConnectionArray) ElementType

func (NetworkConnectionArray) ElementType() reflect.Type

func (NetworkConnectionArray) ToNetworkConnectionArrayOutput

func (i NetworkConnectionArray) ToNetworkConnectionArrayOutput() NetworkConnectionArrayOutput

func (NetworkConnectionArray) ToNetworkConnectionArrayOutputWithContext

func (i NetworkConnectionArray) ToNetworkConnectionArrayOutputWithContext(ctx context.Context) NetworkConnectionArrayOutput

type NetworkConnectionArrayInput

type NetworkConnectionArrayInput interface {
	pulumi.Input

	ToNetworkConnectionArrayOutput() NetworkConnectionArrayOutput
	ToNetworkConnectionArrayOutputWithContext(context.Context) NetworkConnectionArrayOutput
}

NetworkConnectionArrayInput is an input type that accepts NetworkConnectionArray and NetworkConnectionArrayOutput values. You can construct a concrete instance of `NetworkConnectionArrayInput` via:

NetworkConnectionArray{ NetworkConnectionArgs{...} }

type NetworkConnectionArrayOutput

type NetworkConnectionArrayOutput struct{ *pulumi.OutputState }

func (NetworkConnectionArrayOutput) ElementType

func (NetworkConnectionArrayOutput) Index

func (NetworkConnectionArrayOutput) ToNetworkConnectionArrayOutput

func (o NetworkConnectionArrayOutput) ToNetworkConnectionArrayOutput() NetworkConnectionArrayOutput

func (NetworkConnectionArrayOutput) ToNetworkConnectionArrayOutputWithContext

func (o NetworkConnectionArrayOutput) ToNetworkConnectionArrayOutputWithContext(ctx context.Context) NetworkConnectionArrayOutput

type NetworkConnectionInput

type NetworkConnectionInput interface {
	pulumi.Input

	ToNetworkConnectionOutput() NetworkConnectionOutput
	ToNetworkConnectionOutputWithContext(ctx context.Context) NetworkConnectionOutput
}

type NetworkConnectionMap

type NetworkConnectionMap map[string]NetworkConnectionInput

func (NetworkConnectionMap) ElementType

func (NetworkConnectionMap) ElementType() reflect.Type

func (NetworkConnectionMap) ToNetworkConnectionMapOutput

func (i NetworkConnectionMap) ToNetworkConnectionMapOutput() NetworkConnectionMapOutput

func (NetworkConnectionMap) ToNetworkConnectionMapOutputWithContext

func (i NetworkConnectionMap) ToNetworkConnectionMapOutputWithContext(ctx context.Context) NetworkConnectionMapOutput

type NetworkConnectionMapInput

type NetworkConnectionMapInput interface {
	pulumi.Input

	ToNetworkConnectionMapOutput() NetworkConnectionMapOutput
	ToNetworkConnectionMapOutputWithContext(context.Context) NetworkConnectionMapOutput
}

NetworkConnectionMapInput is an input type that accepts NetworkConnectionMap and NetworkConnectionMapOutput values. You can construct a concrete instance of `NetworkConnectionMapInput` via:

NetworkConnectionMap{ "key": NetworkConnectionArgs{...} }

type NetworkConnectionMapOutput

type NetworkConnectionMapOutput struct{ *pulumi.OutputState }

func (NetworkConnectionMapOutput) ElementType

func (NetworkConnectionMapOutput) ElementType() reflect.Type

func (NetworkConnectionMapOutput) MapIndex

func (NetworkConnectionMapOutput) ToNetworkConnectionMapOutput

func (o NetworkConnectionMapOutput) ToNetworkConnectionMapOutput() NetworkConnectionMapOutput

func (NetworkConnectionMapOutput) ToNetworkConnectionMapOutputWithContext

func (o NetworkConnectionMapOutput) ToNetworkConnectionMapOutputWithContext(ctx context.Context) NetworkConnectionMapOutput

type NetworkConnectionOutput

type NetworkConnectionOutput struct{ *pulumi.OutputState }

func (NetworkConnectionOutput) DomainJoinType

func (o NetworkConnectionOutput) DomainJoinType() pulumi.StringOutput

The Azure Active Directory Join type. Possible values are `AzureADJoin` and `HybridAzureADJoin`. Changing this forces a new resource to be created.

func (NetworkConnectionOutput) DomainName

The name of the Azure Active Directory domain.

func (NetworkConnectionOutput) DomainPassword

func (o NetworkConnectionOutput) DomainPassword() pulumi.StringPtrOutput

The password for the account used to join domain.

func (NetworkConnectionOutput) DomainUsername

func (o NetworkConnectionOutput) DomainUsername() pulumi.StringPtrOutput

The username of the Azure Active Directory account (user or service account) that has permissions to create computer objects in Active Directory.

func (NetworkConnectionOutput) ElementType

func (NetworkConnectionOutput) ElementType() reflect.Type

func (NetworkConnectionOutput) Location

The Azure Region where the Dev Center Network Connection should exist. Changing this forces a new resource to be created.

func (NetworkConnectionOutput) Name

Specifies the name of this Dev Center Network Connection. Changing this forces a new resource to be created.

func (NetworkConnectionOutput) OrganizationUnit

func (o NetworkConnectionOutput) OrganizationUnit() pulumi.StringPtrOutput

The Azure Active Directory domain Organization Unit (OU).

func (NetworkConnectionOutput) ResourceGroupName

func (o NetworkConnectionOutput) ResourceGroupName() pulumi.StringOutput

Specifies the name of the Resource Group within which this Dev Center Network Connection should exist. Changing this forces a new resource to be created.

func (NetworkConnectionOutput) SubnetId

The ID of the Subnet that is used to attach Virtual Machines.

func (NetworkConnectionOutput) Tags

A mapping of tags which should be assigned to the Dev Center Network Connection.

func (NetworkConnectionOutput) ToNetworkConnectionOutput

func (o NetworkConnectionOutput) ToNetworkConnectionOutput() NetworkConnectionOutput

func (NetworkConnectionOutput) ToNetworkConnectionOutputWithContext

func (o NetworkConnectionOutput) ToNetworkConnectionOutputWithContext(ctx context.Context) NetworkConnectionOutput

type NetworkConnectionState

type NetworkConnectionState struct {
	// The Azure Active Directory Join type. Possible values are `AzureADJoin` and `HybridAzureADJoin`. Changing this forces a new resource to be created.
	DomainJoinType pulumi.StringPtrInput
	// The name of the Azure Active Directory domain.
	DomainName pulumi.StringPtrInput
	// The password for the account used to join domain.
	DomainPassword pulumi.StringPtrInput
	// The username of the Azure Active Directory account (user or service account) that has permissions to create computer objects in Active Directory.
	DomainUsername pulumi.StringPtrInput
	// The Azure Region where the Dev Center Network Connection should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Dev Center Network Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The Azure Active Directory domain Organization Unit (OU).
	OrganizationUnit pulumi.StringPtrInput
	// Specifies the name of the Resource Group within which this Dev Center Network Connection should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The ID of the Subnet that is used to attach Virtual Machines.
	SubnetId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Dev Center Network Connection.
	Tags pulumi.StringMapInput
}

func (NetworkConnectionState) ElementType

func (NetworkConnectionState) ElementType() reflect.Type

type Project

type Project struct {
	pulumi.CustomResourceState

	// Description of the project. Changing this forces a new Dev Center Project to be created.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Resource Id of an associated DevCenter. Changing this forces a new Dev Center Project to be created.
	DevCenterId pulumi.StringOutput `pulumi:"devCenterId"`
	// The URI of the Dev Center resource this project is associated with.
	DevCenterUri pulumi.StringOutput `pulumi:"devCenterUri"`
	// The Azure Region where the Dev Center Project should exist. Changing this forces a new Dev Center Project to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project.
	MaximumDevBoxesPerUser pulumi.IntPtrOutput `pulumi:"maximumDevBoxesPerUser"`
	// Specifies the name of this Dev Center Project. Changing this forces a new Dev Center Project to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the name of the Resource Group within which this Dev Center Project should exist. Changing this forces a new Dev Center Project to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags which should be assigned to the Dev Center Project.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

<!-- Note: This documentation is generated. Any manual changes will be overwritten -->

Manages a Dev Center Project.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example, err := devcenter.NewDevCenter(ctx, "example", &devcenter.DevCenterArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			Identity: &devcenter.DevCenterIdentityArgs{
				Type: pulumi.String("example-value"),
			},
		})
		if err != nil {
			return err
		}
		_, err = devcenter.NewProject(ctx, "example", &devcenter.ProjectArgs{
			DevCenterId:       example.ID(),
			Location:          exampleResourceGroup.Location,
			Name:              pulumi.String("example"),
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An existing Dev Center Project can be imported into Pulumi using the `resource id`, e.g.

```sh $ pulumi import azure:devcenter/project:Project example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName} ```

* Where `{subscriptionId}` is the ID of the Azure Subscription where the Dev Center Project exists. For example `12345678-1234-9876-4563-123456789012`.

* Where `{resourceGroupName}` is the name of Resource Group where this Dev Center Project exists. For example `example-resource-group`.

* Where `{projectName}` is the name of the Project. For example `projectValue`.

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

NewProject registers a new resource with the given unique name, arguments, and options.

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectArgs

type ProjectArgs struct {
	// Description of the project. Changing this forces a new Dev Center Project to be created.
	Description pulumi.StringPtrInput
	// Resource Id of an associated DevCenter. Changing this forces a new Dev Center Project to be created.
	DevCenterId pulumi.StringInput
	// The Azure Region where the Dev Center Project should exist. Changing this forces a new Dev Center Project to be created.
	Location pulumi.StringPtrInput
	// When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project.
	MaximumDevBoxesPerUser pulumi.IntPtrInput
	// Specifies the name of this Dev Center Project. Changing this forces a new Dev Center Project to be created.
	Name pulumi.StringPtrInput
	// Specifies the name of the Resource Group within which this Dev Center Project should exist. Changing this forces a new Dev Center Project to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags which should be assigned to the Dev Center Project.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectEnvironmentType

type ProjectEnvironmentType struct {
	pulumi.CustomResourceState

	// A list of roles to assign to the environment creator.
	CreatorRoleAssignmentRoles pulumi.StringArrayOutput `pulumi:"creatorRoleAssignmentRoles"`
	// The ID of the subscription that the Environment Type will be mapped to. The environment's resources will be deployed into this subscription.
	DeploymentTargetId pulumi.StringOutput `pulumi:"deploymentTargetId"`
	// The ID of the associated Dev Center Project. Changing this forces a new resource to be created.
	DevCenterProjectId pulumi.StringOutput `pulumi:"devCenterProjectId"`
	// An `identity` block as defined below.
	Identity ProjectEnvironmentTypeIdentityOutput `pulumi:"identity"`
	// The Azure Region where the Dev Center Project Environment Type should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of this Dev Center Project Environment Type. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A mapping of tags which should be assigned to the Dev Center Project Environment Type.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A `userRoleAssignment` block as defined below.
	UserRoleAssignments ProjectEnvironmentTypeUserRoleAssignmentArrayOutput `pulumi:"userRoleAssignments"`
}

Manages a Dev Center Project Environment Type.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleDevCenter, err := devcenter.NewDevCenter(ctx, "example", &devcenter.DevCenterArgs{
			Name:              pulumi.String("example-dc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Identity: &devcenter.DevCenterIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleEnvironmentType, err := devcenter.NewEnvironmentType(ctx, "example", &devcenter.EnvironmentTypeArgs{
			Name:        pulumi.String("example-et"),
			DevCenterId: exampleDevCenter.ID(),
		})
		if err != nil {
			return err
		}
		exampleProject, err := devcenter.NewProject(ctx, "example", &devcenter.ProjectArgs{
			Name:              pulumi.String("example-dcp"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			DevCenterId:       exampleDevCenter.ID(),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleEnvironmentType,
		}))
		if err != nil {
			return err
		}
		_, err = devcenter.NewProjectEnvironmentType(ctx, "example", &devcenter.ProjectEnvironmentTypeArgs{
			Name:               pulumi.String("example-et"),
			Location:           example.Location,
			DevCenterProjectId: exampleProject.ID(),
			DeploymentTargetId: pulumi.Sprintf("/subscriptions/%v", current.SubscriptionId),
			Identity: &devcenter.ProjectEnvironmentTypeIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An existing Dev Center Project Environment Type can be imported into Pulumi using the `resource id`, e.g.

```sh $ pulumi import azure:devcenter/projectEnvironmentType:ProjectEnvironmentType example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/projects/project1/environmentTypes/et1 ```

func GetProjectEnvironmentType

func GetProjectEnvironmentType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectEnvironmentTypeState, opts ...pulumi.ResourceOption) (*ProjectEnvironmentType, error)

GetProjectEnvironmentType gets an existing ProjectEnvironmentType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectEnvironmentType

func NewProjectEnvironmentType(ctx *pulumi.Context,
	name string, args *ProjectEnvironmentTypeArgs, opts ...pulumi.ResourceOption) (*ProjectEnvironmentType, error)

NewProjectEnvironmentType registers a new resource with the given unique name, arguments, and options.

func (*ProjectEnvironmentType) ElementType

func (*ProjectEnvironmentType) ElementType() reflect.Type

func (*ProjectEnvironmentType) ToProjectEnvironmentTypeOutput

func (i *ProjectEnvironmentType) ToProjectEnvironmentTypeOutput() ProjectEnvironmentTypeOutput

func (*ProjectEnvironmentType) ToProjectEnvironmentTypeOutputWithContext

func (i *ProjectEnvironmentType) ToProjectEnvironmentTypeOutputWithContext(ctx context.Context) ProjectEnvironmentTypeOutput

type ProjectEnvironmentTypeArgs

type ProjectEnvironmentTypeArgs struct {
	// A list of roles to assign to the environment creator.
	CreatorRoleAssignmentRoles pulumi.StringArrayInput
	// The ID of the subscription that the Environment Type will be mapped to. The environment's resources will be deployed into this subscription.
	DeploymentTargetId pulumi.StringInput
	// The ID of the associated Dev Center Project. Changing this forces a new resource to be created.
	DevCenterProjectId pulumi.StringInput
	// An `identity` block as defined below.
	Identity ProjectEnvironmentTypeIdentityInput
	// The Azure Region where the Dev Center Project Environment Type should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Dev Center Project Environment Type. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Dev Center Project Environment Type.
	Tags pulumi.StringMapInput
	// A `userRoleAssignment` block as defined below.
	UserRoleAssignments ProjectEnvironmentTypeUserRoleAssignmentArrayInput
}

The set of arguments for constructing a ProjectEnvironmentType resource.

func (ProjectEnvironmentTypeArgs) ElementType

func (ProjectEnvironmentTypeArgs) ElementType() reflect.Type

type ProjectEnvironmentTypeArray

type ProjectEnvironmentTypeArray []ProjectEnvironmentTypeInput

func (ProjectEnvironmentTypeArray) ElementType

func (ProjectEnvironmentTypeArray) ToProjectEnvironmentTypeArrayOutput

func (i ProjectEnvironmentTypeArray) ToProjectEnvironmentTypeArrayOutput() ProjectEnvironmentTypeArrayOutput

func (ProjectEnvironmentTypeArray) ToProjectEnvironmentTypeArrayOutputWithContext

func (i ProjectEnvironmentTypeArray) ToProjectEnvironmentTypeArrayOutputWithContext(ctx context.Context) ProjectEnvironmentTypeArrayOutput

type ProjectEnvironmentTypeArrayInput

type ProjectEnvironmentTypeArrayInput interface {
	pulumi.Input

	ToProjectEnvironmentTypeArrayOutput() ProjectEnvironmentTypeArrayOutput
	ToProjectEnvironmentTypeArrayOutputWithContext(context.Context) ProjectEnvironmentTypeArrayOutput
}

ProjectEnvironmentTypeArrayInput is an input type that accepts ProjectEnvironmentTypeArray and ProjectEnvironmentTypeArrayOutput values. You can construct a concrete instance of `ProjectEnvironmentTypeArrayInput` via:

ProjectEnvironmentTypeArray{ ProjectEnvironmentTypeArgs{...} }

type ProjectEnvironmentTypeArrayOutput

type ProjectEnvironmentTypeArrayOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentTypeArrayOutput) ElementType

func (ProjectEnvironmentTypeArrayOutput) Index

func (ProjectEnvironmentTypeArrayOutput) ToProjectEnvironmentTypeArrayOutput

func (o ProjectEnvironmentTypeArrayOutput) ToProjectEnvironmentTypeArrayOutput() ProjectEnvironmentTypeArrayOutput

func (ProjectEnvironmentTypeArrayOutput) ToProjectEnvironmentTypeArrayOutputWithContext

func (o ProjectEnvironmentTypeArrayOutput) ToProjectEnvironmentTypeArrayOutputWithContext(ctx context.Context) ProjectEnvironmentTypeArrayOutput

type ProjectEnvironmentTypeIdentity

type ProjectEnvironmentTypeIdentity struct {
	// The ID of the User Assigned Identity which should be assigned to this Dev Center Project Environment Type.
	//
	// > **Note:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	IdentityIds []string `pulumi:"identityIds"`
	PrincipalId *string  `pulumi:"principalId"`
	TenantId    *string  `pulumi:"tenantId"`
	// The type of identity used for this Dev Center Project Environment Type. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.
	Type string `pulumi:"type"`
}

type ProjectEnvironmentTypeIdentityArgs

type ProjectEnvironmentTypeIdentityArgs struct {
	// The ID of the User Assigned Identity which should be assigned to this Dev Center Project Environment Type.
	//
	// > **Note:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	PrincipalId pulumi.StringPtrInput   `pulumi:"principalId"`
	TenantId    pulumi.StringPtrInput   `pulumi:"tenantId"`
	// The type of identity used for this Dev Center Project Environment Type. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ProjectEnvironmentTypeIdentityArgs) ElementType

func (ProjectEnvironmentTypeIdentityArgs) ToProjectEnvironmentTypeIdentityOutput

func (i ProjectEnvironmentTypeIdentityArgs) ToProjectEnvironmentTypeIdentityOutput() ProjectEnvironmentTypeIdentityOutput

func (ProjectEnvironmentTypeIdentityArgs) ToProjectEnvironmentTypeIdentityOutputWithContext

func (i ProjectEnvironmentTypeIdentityArgs) ToProjectEnvironmentTypeIdentityOutputWithContext(ctx context.Context) ProjectEnvironmentTypeIdentityOutput

func (ProjectEnvironmentTypeIdentityArgs) ToProjectEnvironmentTypeIdentityPtrOutput

func (i ProjectEnvironmentTypeIdentityArgs) ToProjectEnvironmentTypeIdentityPtrOutput() ProjectEnvironmentTypeIdentityPtrOutput

func (ProjectEnvironmentTypeIdentityArgs) ToProjectEnvironmentTypeIdentityPtrOutputWithContext

func (i ProjectEnvironmentTypeIdentityArgs) ToProjectEnvironmentTypeIdentityPtrOutputWithContext(ctx context.Context) ProjectEnvironmentTypeIdentityPtrOutput

type ProjectEnvironmentTypeIdentityInput

type ProjectEnvironmentTypeIdentityInput interface {
	pulumi.Input

	ToProjectEnvironmentTypeIdentityOutput() ProjectEnvironmentTypeIdentityOutput
	ToProjectEnvironmentTypeIdentityOutputWithContext(context.Context) ProjectEnvironmentTypeIdentityOutput
}

ProjectEnvironmentTypeIdentityInput is an input type that accepts ProjectEnvironmentTypeIdentityArgs and ProjectEnvironmentTypeIdentityOutput values. You can construct a concrete instance of `ProjectEnvironmentTypeIdentityInput` via:

ProjectEnvironmentTypeIdentityArgs{...}

type ProjectEnvironmentTypeIdentityOutput

type ProjectEnvironmentTypeIdentityOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentTypeIdentityOutput) ElementType

func (ProjectEnvironmentTypeIdentityOutput) IdentityIds

The ID of the User Assigned Identity which should be assigned to this Dev Center Project Environment Type.

> **Note:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

func (ProjectEnvironmentTypeIdentityOutput) PrincipalId

func (ProjectEnvironmentTypeIdentityOutput) TenantId

func (ProjectEnvironmentTypeIdentityOutput) ToProjectEnvironmentTypeIdentityOutput

func (o ProjectEnvironmentTypeIdentityOutput) ToProjectEnvironmentTypeIdentityOutput() ProjectEnvironmentTypeIdentityOutput

func (ProjectEnvironmentTypeIdentityOutput) ToProjectEnvironmentTypeIdentityOutputWithContext

func (o ProjectEnvironmentTypeIdentityOutput) ToProjectEnvironmentTypeIdentityOutputWithContext(ctx context.Context) ProjectEnvironmentTypeIdentityOutput

func (ProjectEnvironmentTypeIdentityOutput) ToProjectEnvironmentTypeIdentityPtrOutput

func (o ProjectEnvironmentTypeIdentityOutput) ToProjectEnvironmentTypeIdentityPtrOutput() ProjectEnvironmentTypeIdentityPtrOutput

func (ProjectEnvironmentTypeIdentityOutput) ToProjectEnvironmentTypeIdentityPtrOutputWithContext

func (o ProjectEnvironmentTypeIdentityOutput) ToProjectEnvironmentTypeIdentityPtrOutputWithContext(ctx context.Context) ProjectEnvironmentTypeIdentityPtrOutput

func (ProjectEnvironmentTypeIdentityOutput) Type

The type of identity used for this Dev Center Project Environment Type. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.

type ProjectEnvironmentTypeIdentityPtrInput

type ProjectEnvironmentTypeIdentityPtrInput interface {
	pulumi.Input

	ToProjectEnvironmentTypeIdentityPtrOutput() ProjectEnvironmentTypeIdentityPtrOutput
	ToProjectEnvironmentTypeIdentityPtrOutputWithContext(context.Context) ProjectEnvironmentTypeIdentityPtrOutput
}

ProjectEnvironmentTypeIdentityPtrInput is an input type that accepts ProjectEnvironmentTypeIdentityArgs, ProjectEnvironmentTypeIdentityPtr and ProjectEnvironmentTypeIdentityPtrOutput values. You can construct a concrete instance of `ProjectEnvironmentTypeIdentityPtrInput` via:

        ProjectEnvironmentTypeIdentityArgs{...}

or:

        nil

type ProjectEnvironmentTypeIdentityPtrOutput

type ProjectEnvironmentTypeIdentityPtrOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentTypeIdentityPtrOutput) Elem

func (ProjectEnvironmentTypeIdentityPtrOutput) ElementType

func (ProjectEnvironmentTypeIdentityPtrOutput) IdentityIds

The ID of the User Assigned Identity which should be assigned to this Dev Center Project Environment Type.

> **Note:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

func (ProjectEnvironmentTypeIdentityPtrOutput) PrincipalId

func (ProjectEnvironmentTypeIdentityPtrOutput) TenantId

func (ProjectEnvironmentTypeIdentityPtrOutput) ToProjectEnvironmentTypeIdentityPtrOutput

func (o ProjectEnvironmentTypeIdentityPtrOutput) ToProjectEnvironmentTypeIdentityPtrOutput() ProjectEnvironmentTypeIdentityPtrOutput

func (ProjectEnvironmentTypeIdentityPtrOutput) ToProjectEnvironmentTypeIdentityPtrOutputWithContext

func (o ProjectEnvironmentTypeIdentityPtrOutput) ToProjectEnvironmentTypeIdentityPtrOutputWithContext(ctx context.Context) ProjectEnvironmentTypeIdentityPtrOutput

func (ProjectEnvironmentTypeIdentityPtrOutput) Type

The type of identity used for this Dev Center Project Environment Type. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.

type ProjectEnvironmentTypeInput

type ProjectEnvironmentTypeInput interface {
	pulumi.Input

	ToProjectEnvironmentTypeOutput() ProjectEnvironmentTypeOutput
	ToProjectEnvironmentTypeOutputWithContext(ctx context.Context) ProjectEnvironmentTypeOutput
}

type ProjectEnvironmentTypeMap

type ProjectEnvironmentTypeMap map[string]ProjectEnvironmentTypeInput

func (ProjectEnvironmentTypeMap) ElementType

func (ProjectEnvironmentTypeMap) ElementType() reflect.Type

func (ProjectEnvironmentTypeMap) ToProjectEnvironmentTypeMapOutput

func (i ProjectEnvironmentTypeMap) ToProjectEnvironmentTypeMapOutput() ProjectEnvironmentTypeMapOutput

func (ProjectEnvironmentTypeMap) ToProjectEnvironmentTypeMapOutputWithContext

func (i ProjectEnvironmentTypeMap) ToProjectEnvironmentTypeMapOutputWithContext(ctx context.Context) ProjectEnvironmentTypeMapOutput

type ProjectEnvironmentTypeMapInput

type ProjectEnvironmentTypeMapInput interface {
	pulumi.Input

	ToProjectEnvironmentTypeMapOutput() ProjectEnvironmentTypeMapOutput
	ToProjectEnvironmentTypeMapOutputWithContext(context.Context) ProjectEnvironmentTypeMapOutput
}

ProjectEnvironmentTypeMapInput is an input type that accepts ProjectEnvironmentTypeMap and ProjectEnvironmentTypeMapOutput values. You can construct a concrete instance of `ProjectEnvironmentTypeMapInput` via:

ProjectEnvironmentTypeMap{ "key": ProjectEnvironmentTypeArgs{...} }

type ProjectEnvironmentTypeMapOutput

type ProjectEnvironmentTypeMapOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentTypeMapOutput) ElementType

func (ProjectEnvironmentTypeMapOutput) MapIndex

func (ProjectEnvironmentTypeMapOutput) ToProjectEnvironmentTypeMapOutput

func (o ProjectEnvironmentTypeMapOutput) ToProjectEnvironmentTypeMapOutput() ProjectEnvironmentTypeMapOutput

func (ProjectEnvironmentTypeMapOutput) ToProjectEnvironmentTypeMapOutputWithContext

func (o ProjectEnvironmentTypeMapOutput) ToProjectEnvironmentTypeMapOutputWithContext(ctx context.Context) ProjectEnvironmentTypeMapOutput

type ProjectEnvironmentTypeOutput

type ProjectEnvironmentTypeOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentTypeOutput) CreatorRoleAssignmentRoles

func (o ProjectEnvironmentTypeOutput) CreatorRoleAssignmentRoles() pulumi.StringArrayOutput

A list of roles to assign to the environment creator.

func (ProjectEnvironmentTypeOutput) DeploymentTargetId

func (o ProjectEnvironmentTypeOutput) DeploymentTargetId() pulumi.StringOutput

The ID of the subscription that the Environment Type will be mapped to. The environment's resources will be deployed into this subscription.

func (ProjectEnvironmentTypeOutput) DevCenterProjectId

func (o ProjectEnvironmentTypeOutput) DevCenterProjectId() pulumi.StringOutput

The ID of the associated Dev Center Project. Changing this forces a new resource to be created.

func (ProjectEnvironmentTypeOutput) ElementType

func (ProjectEnvironmentTypeOutput) Identity

An `identity` block as defined below.

func (ProjectEnvironmentTypeOutput) Location

The Azure Region where the Dev Center Project Environment Type should exist. Changing this forces a new resource to be created.

func (ProjectEnvironmentTypeOutput) Name

Specifies the name of this Dev Center Project Environment Type. Changing this forces a new resource to be created.

func (ProjectEnvironmentTypeOutput) Tags

A mapping of tags which should be assigned to the Dev Center Project Environment Type.

func (ProjectEnvironmentTypeOutput) ToProjectEnvironmentTypeOutput

func (o ProjectEnvironmentTypeOutput) ToProjectEnvironmentTypeOutput() ProjectEnvironmentTypeOutput

func (ProjectEnvironmentTypeOutput) ToProjectEnvironmentTypeOutputWithContext

func (o ProjectEnvironmentTypeOutput) ToProjectEnvironmentTypeOutputWithContext(ctx context.Context) ProjectEnvironmentTypeOutput

func (ProjectEnvironmentTypeOutput) UserRoleAssignments

A `userRoleAssignment` block as defined below.

type ProjectEnvironmentTypeState

type ProjectEnvironmentTypeState struct {
	// A list of roles to assign to the environment creator.
	CreatorRoleAssignmentRoles pulumi.StringArrayInput
	// The ID of the subscription that the Environment Type will be mapped to. The environment's resources will be deployed into this subscription.
	DeploymentTargetId pulumi.StringPtrInput
	// The ID of the associated Dev Center Project. Changing this forces a new resource to be created.
	DevCenterProjectId pulumi.StringPtrInput
	// An `identity` block as defined below.
	Identity ProjectEnvironmentTypeIdentityPtrInput
	// The Azure Region where the Dev Center Project Environment Type should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Dev Center Project Environment Type. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Dev Center Project Environment Type.
	Tags pulumi.StringMapInput
	// A `userRoleAssignment` block as defined below.
	UserRoleAssignments ProjectEnvironmentTypeUserRoleAssignmentArrayInput
}

func (ProjectEnvironmentTypeState) ElementType

type ProjectEnvironmentTypeUserRoleAssignment

type ProjectEnvironmentTypeUserRoleAssignment struct {
	// A list of roles to assign to the `userId`.
	Roles []string `pulumi:"roles"`
	// The user object ID that is assigned roles.
	UserId string `pulumi:"userId"`
}

type ProjectEnvironmentTypeUserRoleAssignmentArgs

type ProjectEnvironmentTypeUserRoleAssignmentArgs struct {
	// A list of roles to assign to the `userId`.
	Roles pulumi.StringArrayInput `pulumi:"roles"`
	// The user object ID that is assigned roles.
	UserId pulumi.StringInput `pulumi:"userId"`
}

func (ProjectEnvironmentTypeUserRoleAssignmentArgs) ElementType

func (ProjectEnvironmentTypeUserRoleAssignmentArgs) ToProjectEnvironmentTypeUserRoleAssignmentOutput

func (i ProjectEnvironmentTypeUserRoleAssignmentArgs) ToProjectEnvironmentTypeUserRoleAssignmentOutput() ProjectEnvironmentTypeUserRoleAssignmentOutput

func (ProjectEnvironmentTypeUserRoleAssignmentArgs) ToProjectEnvironmentTypeUserRoleAssignmentOutputWithContext

func (i ProjectEnvironmentTypeUserRoleAssignmentArgs) ToProjectEnvironmentTypeUserRoleAssignmentOutputWithContext(ctx context.Context) ProjectEnvironmentTypeUserRoleAssignmentOutput

type ProjectEnvironmentTypeUserRoleAssignmentArray

type ProjectEnvironmentTypeUserRoleAssignmentArray []ProjectEnvironmentTypeUserRoleAssignmentInput

func (ProjectEnvironmentTypeUserRoleAssignmentArray) ElementType

func (ProjectEnvironmentTypeUserRoleAssignmentArray) ToProjectEnvironmentTypeUserRoleAssignmentArrayOutput

func (i ProjectEnvironmentTypeUserRoleAssignmentArray) ToProjectEnvironmentTypeUserRoleAssignmentArrayOutput() ProjectEnvironmentTypeUserRoleAssignmentArrayOutput

func (ProjectEnvironmentTypeUserRoleAssignmentArray) ToProjectEnvironmentTypeUserRoleAssignmentArrayOutputWithContext

func (i ProjectEnvironmentTypeUserRoleAssignmentArray) ToProjectEnvironmentTypeUserRoleAssignmentArrayOutputWithContext(ctx context.Context) ProjectEnvironmentTypeUserRoleAssignmentArrayOutput

type ProjectEnvironmentTypeUserRoleAssignmentArrayInput

type ProjectEnvironmentTypeUserRoleAssignmentArrayInput interface {
	pulumi.Input

	ToProjectEnvironmentTypeUserRoleAssignmentArrayOutput() ProjectEnvironmentTypeUserRoleAssignmentArrayOutput
	ToProjectEnvironmentTypeUserRoleAssignmentArrayOutputWithContext(context.Context) ProjectEnvironmentTypeUserRoleAssignmentArrayOutput
}

ProjectEnvironmentTypeUserRoleAssignmentArrayInput is an input type that accepts ProjectEnvironmentTypeUserRoleAssignmentArray and ProjectEnvironmentTypeUserRoleAssignmentArrayOutput values. You can construct a concrete instance of `ProjectEnvironmentTypeUserRoleAssignmentArrayInput` via:

ProjectEnvironmentTypeUserRoleAssignmentArray{ ProjectEnvironmentTypeUserRoleAssignmentArgs{...} }

type ProjectEnvironmentTypeUserRoleAssignmentArrayOutput

type ProjectEnvironmentTypeUserRoleAssignmentArrayOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentTypeUserRoleAssignmentArrayOutput) ElementType

func (ProjectEnvironmentTypeUserRoleAssignmentArrayOutput) Index

func (ProjectEnvironmentTypeUserRoleAssignmentArrayOutput) ToProjectEnvironmentTypeUserRoleAssignmentArrayOutput

func (o ProjectEnvironmentTypeUserRoleAssignmentArrayOutput) ToProjectEnvironmentTypeUserRoleAssignmentArrayOutput() ProjectEnvironmentTypeUserRoleAssignmentArrayOutput

func (ProjectEnvironmentTypeUserRoleAssignmentArrayOutput) ToProjectEnvironmentTypeUserRoleAssignmentArrayOutputWithContext

func (o ProjectEnvironmentTypeUserRoleAssignmentArrayOutput) ToProjectEnvironmentTypeUserRoleAssignmentArrayOutputWithContext(ctx context.Context) ProjectEnvironmentTypeUserRoleAssignmentArrayOutput

type ProjectEnvironmentTypeUserRoleAssignmentInput

type ProjectEnvironmentTypeUserRoleAssignmentInput interface {
	pulumi.Input

	ToProjectEnvironmentTypeUserRoleAssignmentOutput() ProjectEnvironmentTypeUserRoleAssignmentOutput
	ToProjectEnvironmentTypeUserRoleAssignmentOutputWithContext(context.Context) ProjectEnvironmentTypeUserRoleAssignmentOutput
}

ProjectEnvironmentTypeUserRoleAssignmentInput is an input type that accepts ProjectEnvironmentTypeUserRoleAssignmentArgs and ProjectEnvironmentTypeUserRoleAssignmentOutput values. You can construct a concrete instance of `ProjectEnvironmentTypeUserRoleAssignmentInput` via:

ProjectEnvironmentTypeUserRoleAssignmentArgs{...}

type ProjectEnvironmentTypeUserRoleAssignmentOutput

type ProjectEnvironmentTypeUserRoleAssignmentOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentTypeUserRoleAssignmentOutput) ElementType

func (ProjectEnvironmentTypeUserRoleAssignmentOutput) Roles

A list of roles to assign to the `userId`.

func (ProjectEnvironmentTypeUserRoleAssignmentOutput) ToProjectEnvironmentTypeUserRoleAssignmentOutput

func (o ProjectEnvironmentTypeUserRoleAssignmentOutput) ToProjectEnvironmentTypeUserRoleAssignmentOutput() ProjectEnvironmentTypeUserRoleAssignmentOutput

func (ProjectEnvironmentTypeUserRoleAssignmentOutput) ToProjectEnvironmentTypeUserRoleAssignmentOutputWithContext

func (o ProjectEnvironmentTypeUserRoleAssignmentOutput) ToProjectEnvironmentTypeUserRoleAssignmentOutputWithContext(ctx context.Context) ProjectEnvironmentTypeUserRoleAssignmentOutput

func (ProjectEnvironmentTypeUserRoleAssignmentOutput) UserId

The user object ID that is assigned roles.

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) Description

func (o ProjectOutput) Description() pulumi.StringPtrOutput

Description of the project. Changing this forces a new Dev Center Project to be created.

func (ProjectOutput) DevCenterId

func (o ProjectOutput) DevCenterId() pulumi.StringOutput

Resource Id of an associated DevCenter. Changing this forces a new Dev Center Project to be created.

func (ProjectOutput) DevCenterUri

func (o ProjectOutput) DevCenterUri() pulumi.StringOutput

The URI of the Dev Center resource this project is associated with.

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) Location

func (o ProjectOutput) Location() pulumi.StringOutput

The Azure Region where the Dev Center Project should exist. Changing this forces a new Dev Center Project to be created.

func (ProjectOutput) MaximumDevBoxesPerUser

func (o ProjectOutput) MaximumDevBoxesPerUser() pulumi.IntPtrOutput

When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project.

func (ProjectOutput) Name

Specifies the name of this Dev Center Project. Changing this forces a new Dev Center Project to be created.

func (ProjectOutput) ResourceGroupName

func (o ProjectOutput) ResourceGroupName() pulumi.StringOutput

Specifies the name of the Resource Group within which this Dev Center Project should exist. Changing this forces a new Dev Center Project to be created.

func (ProjectOutput) Tags

A mapping of tags which should be assigned to the Dev Center Project.

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectPool added in v6.7.0

type ProjectPool struct {
	pulumi.CustomResourceState

	// The name of the Dev Center Dev Box Definition.
	DevBoxDefinitionName pulumi.StringOutput `pulumi:"devBoxDefinitionName"`
	// The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool.
	DevCenterAttachedNetworkName pulumi.StringOutput `pulumi:"devCenterAttachedNetworkName"`
	// The ID of the associated Dev Center Project. Changing this forces a new resource to be created.
	DevCenterProjectId pulumi.StringOutput `pulumi:"devCenterProjectId"`
	// Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box.
	LocalAdministratorEnabled pulumi.BoolOutput `pulumi:"localAdministratorEnabled"`
	// The Azure Region where the Dev Center Project Pool should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of this Dev Center Project Pool. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected. Possible values are between `60` and `480`.
	StopOnDisconnectGracePeriodMinutes pulumi.IntPtrOutput `pulumi:"stopOnDisconnectGracePeriodMinutes"`
	// A mapping of tags which should be assigned to the Dev Center Project Pool.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Dev Center Project Pool.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleDevCenter, err := devcenter.NewDevCenter(ctx, "example", &devcenter.DevCenterArgs{
			Name:              pulumi.String("example-dc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Identity: &devcenter.DevCenterIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("example-vnet"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("internal"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/24"),
			},
		})
		if err != nil {
			return err
		}
		exampleNetworkConnection, err := devcenter.NewNetworkConnection(ctx, "example", &devcenter.NetworkConnectionArgs{
			Name:              pulumi.String("example-dcnc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			SubnetId:          exampleSubnet.ID(),
			DomainJoinType:    pulumi.String("AzureADJoin"),
		})
		if err != nil {
			return err
		}
		exampleAttachedNetwork, err := devcenter.NewAttachedNetwork(ctx, "example", &devcenter.AttachedNetworkArgs{
			Name:                pulumi.String("example-dcet"),
			DevCenterId:         exampleDevCenter.ID(),
			NetworkConnectionId: exampleNetworkConnection.ID(),
		})
		if err != nil {
			return err
		}
		exampleProject, err := devcenter.NewProject(ctx, "example", &devcenter.ProjectArgs{
			Name:              pulumi.String("example-dcp"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			DevCenterId:       exampleDevCenter.ID(),
		})
		if err != nil {
			return err
		}
		exampleDevBoxDefinition, err := devcenter.NewDevBoxDefinition(ctx, "example", &devcenter.DevBoxDefinitionArgs{
			Name:        pulumi.String("example-dcet"),
			Location:    example.Location,
			DevCenterId: exampleDevCenter.ID(),
			ImageReferenceId: exampleDevCenter.ID().ApplyT(func(id string) (string, error) {
				return fmt.Sprintf("%v/galleries/default/images/microsoftvisualstudio_visualstudioplustools_vs-2022-ent-general-win10-m365-gen2", id), nil
			}).(pulumi.StringOutput),
			SkuName: pulumi.String("general_i_8c32gb256ssd_v2"),
		})
		if err != nil {
			return err
		}
		_, err = devcenter.NewProjectPool(ctx, "example", &devcenter.ProjectPoolArgs{
			Name:                               pulumi.String("example-dcpl"),
			Location:                           example.Location,
			DevCenterProjectId:                 exampleProject.ID(),
			DevBoxDefinitionName:               exampleDevBoxDefinition.Name,
			LocalAdministratorEnabled:          pulumi.Bool(true),
			DevCenterAttachedNetworkName:       exampleAttachedNetwork.Name,
			StopOnDisconnectGracePeriodMinutes: pulumi.Int(60),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An existing Dev Center Project Pool can be imported into Pulumi using the `resource id`, e.g.

```sh $ pulumi import azure:devcenter/projectPool:ProjectPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/projects/project1/pools/pool1 ```

func GetProjectPool added in v6.7.0

func GetProjectPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectPoolState, opts ...pulumi.ResourceOption) (*ProjectPool, error)

GetProjectPool gets an existing ProjectPool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectPool added in v6.7.0

func NewProjectPool(ctx *pulumi.Context,
	name string, args *ProjectPoolArgs, opts ...pulumi.ResourceOption) (*ProjectPool, error)

NewProjectPool registers a new resource with the given unique name, arguments, and options.

func (*ProjectPool) ElementType added in v6.7.0

func (*ProjectPool) ElementType() reflect.Type

func (*ProjectPool) ToProjectPoolOutput added in v6.7.0

func (i *ProjectPool) ToProjectPoolOutput() ProjectPoolOutput

func (*ProjectPool) ToProjectPoolOutputWithContext added in v6.7.0

func (i *ProjectPool) ToProjectPoolOutputWithContext(ctx context.Context) ProjectPoolOutput

type ProjectPoolArgs added in v6.7.0

type ProjectPoolArgs struct {
	// The name of the Dev Center Dev Box Definition.
	DevBoxDefinitionName pulumi.StringInput
	// The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool.
	DevCenterAttachedNetworkName pulumi.StringInput
	// The ID of the associated Dev Center Project. Changing this forces a new resource to be created.
	DevCenterProjectId pulumi.StringInput
	// Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box.
	LocalAdministratorEnabled pulumi.BoolInput
	// The Azure Region where the Dev Center Project Pool should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Dev Center Project Pool. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected. Possible values are between `60` and `480`.
	StopOnDisconnectGracePeriodMinutes pulumi.IntPtrInput
	// A mapping of tags which should be assigned to the Dev Center Project Pool.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ProjectPool resource.

func (ProjectPoolArgs) ElementType added in v6.7.0

func (ProjectPoolArgs) ElementType() reflect.Type

type ProjectPoolArray added in v6.7.0

type ProjectPoolArray []ProjectPoolInput

func (ProjectPoolArray) ElementType added in v6.7.0

func (ProjectPoolArray) ElementType() reflect.Type

func (ProjectPoolArray) ToProjectPoolArrayOutput added in v6.7.0

func (i ProjectPoolArray) ToProjectPoolArrayOutput() ProjectPoolArrayOutput

func (ProjectPoolArray) ToProjectPoolArrayOutputWithContext added in v6.7.0

func (i ProjectPoolArray) ToProjectPoolArrayOutputWithContext(ctx context.Context) ProjectPoolArrayOutput

type ProjectPoolArrayInput added in v6.7.0

type ProjectPoolArrayInput interface {
	pulumi.Input

	ToProjectPoolArrayOutput() ProjectPoolArrayOutput
	ToProjectPoolArrayOutputWithContext(context.Context) ProjectPoolArrayOutput
}

ProjectPoolArrayInput is an input type that accepts ProjectPoolArray and ProjectPoolArrayOutput values. You can construct a concrete instance of `ProjectPoolArrayInput` via:

ProjectPoolArray{ ProjectPoolArgs{...} }

type ProjectPoolArrayOutput added in v6.7.0

type ProjectPoolArrayOutput struct{ *pulumi.OutputState }

func (ProjectPoolArrayOutput) ElementType added in v6.7.0

func (ProjectPoolArrayOutput) ElementType() reflect.Type

func (ProjectPoolArrayOutput) Index added in v6.7.0

func (ProjectPoolArrayOutput) ToProjectPoolArrayOutput added in v6.7.0

func (o ProjectPoolArrayOutput) ToProjectPoolArrayOutput() ProjectPoolArrayOutput

func (ProjectPoolArrayOutput) ToProjectPoolArrayOutputWithContext added in v6.7.0

func (o ProjectPoolArrayOutput) ToProjectPoolArrayOutputWithContext(ctx context.Context) ProjectPoolArrayOutput

type ProjectPoolInput added in v6.7.0

type ProjectPoolInput interface {
	pulumi.Input

	ToProjectPoolOutput() ProjectPoolOutput
	ToProjectPoolOutputWithContext(ctx context.Context) ProjectPoolOutput
}

type ProjectPoolMap added in v6.7.0

type ProjectPoolMap map[string]ProjectPoolInput

func (ProjectPoolMap) ElementType added in v6.7.0

func (ProjectPoolMap) ElementType() reflect.Type

func (ProjectPoolMap) ToProjectPoolMapOutput added in v6.7.0

func (i ProjectPoolMap) ToProjectPoolMapOutput() ProjectPoolMapOutput

func (ProjectPoolMap) ToProjectPoolMapOutputWithContext added in v6.7.0

func (i ProjectPoolMap) ToProjectPoolMapOutputWithContext(ctx context.Context) ProjectPoolMapOutput

type ProjectPoolMapInput added in v6.7.0

type ProjectPoolMapInput interface {
	pulumi.Input

	ToProjectPoolMapOutput() ProjectPoolMapOutput
	ToProjectPoolMapOutputWithContext(context.Context) ProjectPoolMapOutput
}

ProjectPoolMapInput is an input type that accepts ProjectPoolMap and ProjectPoolMapOutput values. You can construct a concrete instance of `ProjectPoolMapInput` via:

ProjectPoolMap{ "key": ProjectPoolArgs{...} }

type ProjectPoolMapOutput added in v6.7.0

type ProjectPoolMapOutput struct{ *pulumi.OutputState }

func (ProjectPoolMapOutput) ElementType added in v6.7.0

func (ProjectPoolMapOutput) ElementType() reflect.Type

func (ProjectPoolMapOutput) MapIndex added in v6.7.0

func (ProjectPoolMapOutput) ToProjectPoolMapOutput added in v6.7.0

func (o ProjectPoolMapOutput) ToProjectPoolMapOutput() ProjectPoolMapOutput

func (ProjectPoolMapOutput) ToProjectPoolMapOutputWithContext added in v6.7.0

func (o ProjectPoolMapOutput) ToProjectPoolMapOutputWithContext(ctx context.Context) ProjectPoolMapOutput

type ProjectPoolOutput added in v6.7.0

type ProjectPoolOutput struct{ *pulumi.OutputState }

func (ProjectPoolOutput) DevBoxDefinitionName added in v6.7.0

func (o ProjectPoolOutput) DevBoxDefinitionName() pulumi.StringOutput

The name of the Dev Center Dev Box Definition.

func (ProjectPoolOutput) DevCenterAttachedNetworkName added in v6.7.0

func (o ProjectPoolOutput) DevCenterAttachedNetworkName() pulumi.StringOutput

The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool.

func (ProjectPoolOutput) DevCenterProjectId added in v6.7.0

func (o ProjectPoolOutput) DevCenterProjectId() pulumi.StringOutput

The ID of the associated Dev Center Project. Changing this forces a new resource to be created.

func (ProjectPoolOutput) ElementType added in v6.7.0

func (ProjectPoolOutput) ElementType() reflect.Type

func (ProjectPoolOutput) LocalAdministratorEnabled added in v6.7.0

func (o ProjectPoolOutput) LocalAdministratorEnabled() pulumi.BoolOutput

Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box.

func (ProjectPoolOutput) Location added in v6.7.0

func (o ProjectPoolOutput) Location() pulumi.StringOutput

The Azure Region where the Dev Center Project Pool should exist. Changing this forces a new resource to be created.

func (ProjectPoolOutput) Name added in v6.7.0

Specifies the name of this Dev Center Project Pool. Changing this forces a new resource to be created.

func (ProjectPoolOutput) StopOnDisconnectGracePeriodMinutes added in v6.7.0

func (o ProjectPoolOutput) StopOnDisconnectGracePeriodMinutes() pulumi.IntPtrOutput

The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected. Possible values are between `60` and `480`.

func (ProjectPoolOutput) Tags added in v6.7.0

A mapping of tags which should be assigned to the Dev Center Project Pool.

func (ProjectPoolOutput) ToProjectPoolOutput added in v6.7.0

func (o ProjectPoolOutput) ToProjectPoolOutput() ProjectPoolOutput

func (ProjectPoolOutput) ToProjectPoolOutputWithContext added in v6.7.0

func (o ProjectPoolOutput) ToProjectPoolOutputWithContext(ctx context.Context) ProjectPoolOutput

type ProjectPoolState added in v6.7.0

type ProjectPoolState struct {
	// The name of the Dev Center Dev Box Definition.
	DevBoxDefinitionName pulumi.StringPtrInput
	// The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool.
	DevCenterAttachedNetworkName pulumi.StringPtrInput
	// The ID of the associated Dev Center Project. Changing this forces a new resource to be created.
	DevCenterProjectId pulumi.StringPtrInput
	// Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box.
	LocalAdministratorEnabled pulumi.BoolPtrInput
	// The Azure Region where the Dev Center Project Pool should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Dev Center Project Pool. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected. Possible values are between `60` and `480`.
	StopOnDisconnectGracePeriodMinutes pulumi.IntPtrInput
	// A mapping of tags which should be assigned to the Dev Center Project Pool.
	Tags pulumi.StringMapInput
}

func (ProjectPoolState) ElementType added in v6.7.0

func (ProjectPoolState) ElementType() reflect.Type

type ProjectState

type ProjectState struct {
	// Description of the project. Changing this forces a new Dev Center Project to be created.
	Description pulumi.StringPtrInput
	// Resource Id of an associated DevCenter. Changing this forces a new Dev Center Project to be created.
	DevCenterId pulumi.StringPtrInput
	// The URI of the Dev Center resource this project is associated with.
	DevCenterUri pulumi.StringPtrInput
	// The Azure Region where the Dev Center Project should exist. Changing this forces a new Dev Center Project to be created.
	Location pulumi.StringPtrInput
	// When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project.
	MaximumDevBoxesPerUser pulumi.IntPtrInput
	// Specifies the name of this Dev Center Project. Changing this forces a new Dev Center Project to be created.
	Name pulumi.StringPtrInput
	// Specifies the name of the Resource Group within which this Dev Center Project should exist. Changing this forces a new Dev Center Project to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Dev Center Project.
	Tags pulumi.StringMapInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL