Documentation ¶
Index ¶
- type ComputeCluster
- func (*ComputeCluster) ElementType() reflect.Type
- func (i *ComputeCluster) ToComputeClusterOutput() ComputeClusterOutput
- func (i *ComputeCluster) ToComputeClusterOutputWithContext(ctx context.Context) ComputeClusterOutput
- func (i *ComputeCluster) ToComputeClusterPtrOutput() ComputeClusterPtrOutput
- func (i *ComputeCluster) ToComputeClusterPtrOutputWithContext(ctx context.Context) ComputeClusterPtrOutput
- type ComputeClusterArgs
- type ComputeClusterArray
- type ComputeClusterArrayInput
- type ComputeClusterArrayOutput
- func (ComputeClusterArrayOutput) ElementType() reflect.Type
- func (o ComputeClusterArrayOutput) Index(i pulumi.IntInput) ComputeClusterOutput
- func (o ComputeClusterArrayOutput) ToComputeClusterArrayOutput() ComputeClusterArrayOutput
- func (o ComputeClusterArrayOutput) ToComputeClusterArrayOutputWithContext(ctx context.Context) ComputeClusterArrayOutput
- type ComputeClusterIdentity
- type ComputeClusterIdentityArgs
- func (ComputeClusterIdentityArgs) ElementType() reflect.Type
- func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityOutput() ComputeClusterIdentityOutput
- func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityOutputWithContext(ctx context.Context) ComputeClusterIdentityOutput
- func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput
- func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutputWithContext(ctx context.Context) ComputeClusterIdentityPtrOutput
- type ComputeClusterIdentityInput
- type ComputeClusterIdentityOutput
- func (ComputeClusterIdentityOutput) ElementType() reflect.Type
- func (o ComputeClusterIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ComputeClusterIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityOutput() ComputeClusterIdentityOutput
- func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityOutputWithContext(ctx context.Context) ComputeClusterIdentityOutput
- func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput
- func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutputWithContext(ctx context.Context) ComputeClusterIdentityPtrOutput
- func (o ComputeClusterIdentityOutput) Type() pulumi.StringOutput
- type ComputeClusterIdentityPtrInput
- type ComputeClusterIdentityPtrOutput
- func (o ComputeClusterIdentityPtrOutput) Elem() ComputeClusterIdentityOutput
- func (ComputeClusterIdentityPtrOutput) ElementType() reflect.Type
- func (o ComputeClusterIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ComputeClusterIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput
- func (o ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutputWithContext(ctx context.Context) ComputeClusterIdentityPtrOutput
- func (o ComputeClusterIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type ComputeClusterInput
- type ComputeClusterMap
- type ComputeClusterMapInput
- type ComputeClusterMapOutput
- func (ComputeClusterMapOutput) ElementType() reflect.Type
- func (o ComputeClusterMapOutput) MapIndex(k pulumi.StringInput) ComputeClusterOutput
- func (o ComputeClusterMapOutput) ToComputeClusterMapOutput() ComputeClusterMapOutput
- func (o ComputeClusterMapOutput) ToComputeClusterMapOutputWithContext(ctx context.Context) ComputeClusterMapOutput
- type ComputeClusterOutput
- func (ComputeClusterOutput) ElementType() reflect.Type
- func (o ComputeClusterOutput) ToComputeClusterOutput() ComputeClusterOutput
- func (o ComputeClusterOutput) ToComputeClusterOutputWithContext(ctx context.Context) ComputeClusterOutput
- func (o ComputeClusterOutput) ToComputeClusterPtrOutput() ComputeClusterPtrOutput
- func (o ComputeClusterOutput) ToComputeClusterPtrOutputWithContext(ctx context.Context) ComputeClusterPtrOutput
- type ComputeClusterPtrInput
- type ComputeClusterPtrOutput
- type ComputeClusterScaleSettings
- type ComputeClusterScaleSettingsArgs
- func (ComputeClusterScaleSettingsArgs) ElementType() reflect.Type
- func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutput() ComputeClusterScaleSettingsOutput
- func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsOutput
- func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput
- func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsPtrOutput
- type ComputeClusterScaleSettingsInput
- type ComputeClusterScaleSettingsOutput
- func (ComputeClusterScaleSettingsOutput) ElementType() reflect.Type
- func (o ComputeClusterScaleSettingsOutput) MaxNodeCount() pulumi.IntOutput
- func (o ComputeClusterScaleSettingsOutput) MinNodeCount() pulumi.IntOutput
- func (o ComputeClusterScaleSettingsOutput) ScaleDownNodesAfterIdleDuration() pulumi.StringOutput
- func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutput() ComputeClusterScaleSettingsOutput
- func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsOutput
- func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput
- func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsPtrOutput
- type ComputeClusterScaleSettingsPtrInput
- type ComputeClusterScaleSettingsPtrOutput
- func (o ComputeClusterScaleSettingsPtrOutput) Elem() ComputeClusterScaleSettingsOutput
- func (ComputeClusterScaleSettingsPtrOutput) ElementType() reflect.Type
- func (o ComputeClusterScaleSettingsPtrOutput) MaxNodeCount() pulumi.IntPtrOutput
- func (o ComputeClusterScaleSettingsPtrOutput) MinNodeCount() pulumi.IntPtrOutput
- func (o ComputeClusterScaleSettingsPtrOutput) ScaleDownNodesAfterIdleDuration() pulumi.StringPtrOutput
- func (o ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput
- func (o ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsPtrOutput
- type ComputeClusterState
- type GetWorkspaceIdentity
- type GetWorkspaceIdentityArgs
- type GetWorkspaceIdentityArray
- type GetWorkspaceIdentityArrayInput
- type GetWorkspaceIdentityArrayOutput
- func (GetWorkspaceIdentityArrayOutput) ElementType() reflect.Type
- func (o GetWorkspaceIdentityArrayOutput) Index(i pulumi.IntInput) GetWorkspaceIdentityOutput
- func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput
- func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutputWithContext(ctx context.Context) GetWorkspaceIdentityArrayOutput
- type GetWorkspaceIdentityInput
- type GetWorkspaceIdentityOutput
- func (GetWorkspaceIdentityOutput) ElementType() reflect.Type
- func (o GetWorkspaceIdentityOutput) PrincipalId() pulumi.StringOutput
- func (o GetWorkspaceIdentityOutput) TenantId() pulumi.StringOutput
- func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput
- func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutputWithContext(ctx context.Context) GetWorkspaceIdentityOutput
- func (o GetWorkspaceIdentityOutput) Type() pulumi.StringOutput
- type InferenceCluster
- func (*InferenceCluster) ElementType() reflect.Type
- func (i *InferenceCluster) ToInferenceClusterOutput() InferenceClusterOutput
- func (i *InferenceCluster) ToInferenceClusterOutputWithContext(ctx context.Context) InferenceClusterOutput
- func (i *InferenceCluster) ToInferenceClusterPtrOutput() InferenceClusterPtrOutput
- func (i *InferenceCluster) ToInferenceClusterPtrOutputWithContext(ctx context.Context) InferenceClusterPtrOutput
- type InferenceClusterArgs
- type InferenceClusterArray
- type InferenceClusterArrayInput
- type InferenceClusterArrayOutput
- func (InferenceClusterArrayOutput) ElementType() reflect.Type
- func (o InferenceClusterArrayOutput) Index(i pulumi.IntInput) InferenceClusterOutput
- func (o InferenceClusterArrayOutput) ToInferenceClusterArrayOutput() InferenceClusterArrayOutput
- func (o InferenceClusterArrayOutput) ToInferenceClusterArrayOutputWithContext(ctx context.Context) InferenceClusterArrayOutput
- type InferenceClusterInput
- type InferenceClusterMap
- type InferenceClusterMapInput
- type InferenceClusterMapOutput
- func (InferenceClusterMapOutput) ElementType() reflect.Type
- func (o InferenceClusterMapOutput) MapIndex(k pulumi.StringInput) InferenceClusterOutput
- func (o InferenceClusterMapOutput) ToInferenceClusterMapOutput() InferenceClusterMapOutput
- func (o InferenceClusterMapOutput) ToInferenceClusterMapOutputWithContext(ctx context.Context) InferenceClusterMapOutput
- type InferenceClusterOutput
- func (InferenceClusterOutput) ElementType() reflect.Type
- func (o InferenceClusterOutput) ToInferenceClusterOutput() InferenceClusterOutput
- func (o InferenceClusterOutput) ToInferenceClusterOutputWithContext(ctx context.Context) InferenceClusterOutput
- func (o InferenceClusterOutput) ToInferenceClusterPtrOutput() InferenceClusterPtrOutput
- func (o InferenceClusterOutput) ToInferenceClusterPtrOutputWithContext(ctx context.Context) InferenceClusterPtrOutput
- type InferenceClusterPtrInput
- type InferenceClusterPtrOutput
- type InferenceClusterSsl
- type InferenceClusterSslArgs
- func (InferenceClusterSslArgs) ElementType() reflect.Type
- func (i InferenceClusterSslArgs) ToInferenceClusterSslOutput() InferenceClusterSslOutput
- func (i InferenceClusterSslArgs) ToInferenceClusterSslOutputWithContext(ctx context.Context) InferenceClusterSslOutput
- func (i InferenceClusterSslArgs) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput
- func (i InferenceClusterSslArgs) ToInferenceClusterSslPtrOutputWithContext(ctx context.Context) InferenceClusterSslPtrOutput
- type InferenceClusterSslInput
- type InferenceClusterSslOutput
- func (o InferenceClusterSslOutput) Cert() pulumi.StringPtrOutput
- func (o InferenceClusterSslOutput) Cname() pulumi.StringPtrOutput
- func (InferenceClusterSslOutput) ElementType() reflect.Type
- func (o InferenceClusterSslOutput) Key() pulumi.StringPtrOutput
- func (o InferenceClusterSslOutput) LeafDomainLabel() pulumi.StringPtrOutput
- func (o InferenceClusterSslOutput) OverwriteExistingDomain() pulumi.BoolPtrOutput
- func (o InferenceClusterSslOutput) ToInferenceClusterSslOutput() InferenceClusterSslOutput
- func (o InferenceClusterSslOutput) ToInferenceClusterSslOutputWithContext(ctx context.Context) InferenceClusterSslOutput
- func (o InferenceClusterSslOutput) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput
- func (o InferenceClusterSslOutput) ToInferenceClusterSslPtrOutputWithContext(ctx context.Context) InferenceClusterSslPtrOutput
- type InferenceClusterSslPtrInput
- type InferenceClusterSslPtrOutput
- func (o InferenceClusterSslPtrOutput) Cert() pulumi.StringPtrOutput
- func (o InferenceClusterSslPtrOutput) Cname() pulumi.StringPtrOutput
- func (o InferenceClusterSslPtrOutput) Elem() InferenceClusterSslOutput
- func (InferenceClusterSslPtrOutput) ElementType() reflect.Type
- func (o InferenceClusterSslPtrOutput) Key() pulumi.StringPtrOutput
- func (o InferenceClusterSslPtrOutput) LeafDomainLabel() pulumi.StringPtrOutput
- func (o InferenceClusterSslPtrOutput) OverwriteExistingDomain() pulumi.BoolPtrOutput
- func (o InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput
- func (o InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutputWithContext(ctx context.Context) InferenceClusterSslPtrOutput
- type InferenceClusterState
- type LookupWorkspaceArgs
- type LookupWorkspaceResult
- type Workspace
- func (*Workspace) ElementType() reflect.Type
- func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput
- func (i *Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
- func (i *Workspace) ToWorkspacePtrOutput() WorkspacePtrOutput
- func (i *Workspace) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
- type WorkspaceArgs
- type WorkspaceArray
- type WorkspaceArrayInput
- type WorkspaceArrayOutput
- func (WorkspaceArrayOutput) ElementType() reflect.Type
- func (o WorkspaceArrayOutput) Index(i pulumi.IntInput) WorkspaceOutput
- func (o WorkspaceArrayOutput) ToWorkspaceArrayOutput() WorkspaceArrayOutput
- func (o WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
- type WorkspaceIdentity
- type WorkspaceIdentityArgs
- func (WorkspaceIdentityArgs) ElementType() reflect.Type
- func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
- func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
- func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
- func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
- type WorkspaceIdentityInput
- type WorkspaceIdentityOutput
- func (WorkspaceIdentityOutput) ElementType() reflect.Type
- func (o WorkspaceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o WorkspaceIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
- func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
- func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
- func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
- func (o WorkspaceIdentityOutput) Type() pulumi.StringOutput
- type WorkspaceIdentityPtrInput
- type WorkspaceIdentityPtrOutput
- func (o WorkspaceIdentityPtrOutput) Elem() WorkspaceIdentityOutput
- func (WorkspaceIdentityPtrOutput) ElementType() reflect.Type
- func (o WorkspaceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o WorkspaceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
- func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
- func (o WorkspaceIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type WorkspaceInput
- type WorkspaceMap
- type WorkspaceMapInput
- type WorkspaceMapOutput
- type WorkspaceOutput
- func (WorkspaceOutput) ElementType() reflect.Type
- func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput
- func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
- func (o WorkspaceOutput) ToWorkspacePtrOutput() WorkspacePtrOutput
- func (o WorkspaceOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
- type WorkspacePtrInput
- type WorkspacePtrOutput
- type WorkspaceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeCluster ¶ added in v4.8.0
type ComputeCluster struct { pulumi.CustomResourceState // The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created. Description pulumi.StringPtrOutput `pulumi:"description"` // A `identity` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created. Identity ComputeClusterIdentityOutput `pulumi:"identity"` // The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created. Location pulumi.StringOutput `pulumi:"location"` // The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created. MachineLearningWorkspaceId pulumi.StringOutput `pulumi:"machineLearningWorkspaceId"` // The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created. Name pulumi.StringOutput `pulumi:"name"` // A `scaleSettings` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created. ScaleSettings ComputeClusterScaleSettingsOutput `pulumi:"scaleSettings"` // The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created. SubnetResourceId pulumi.StringPtrOutput `pulumi:"subnetResourceId"` // A mapping of tags which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created. Tags pulumi.StringMapOutput `pulumi:"tags"` // The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. VmPriority pulumi.StringOutput `pulumi:"vmPriority"` // The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. VmSize pulumi.StringOutput `pulumi:"vmSize"` }
Manages a Machine Learning Compute Cluster. **NOTE:** At this point in time the resource cannot be updated (not supported by the backend Azure Go SDK). Therefore it can only be created and deleted, not updated. At the moment, there is also no possibility to specify ssh User Account Credentials to ssh into the compute cluster.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("west europe"), Tags: pulumi.StringMap{ "stage": pulumi.String("example"), }, }) if err != nil { return err } exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, ApplicationType: pulumi.String("web"), }) if err != nil { return err } exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, TenantId: pulumi.String(current.TenantId), SkuName: pulumi.String("standard"), PurgeProtectionEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, ApplicationInsightsId: exampleInsights.ID(), KeyVaultId: exampleKeyVault.ID(), StorageAccountId: exampleAccount.ID(), Identity: &machinelearning.WorkspaceIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ AddressSpaces: pulumi.StringArray{ pulumi.String("10.1.0.0/16"), }, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.1.0.0/24"), }, }) if err != nil { return err } _, err = machinelearning.NewComputeCluster(ctx, "test", &machinelearning.ComputeClusterArgs{ Location: pulumi.String("West Europe"), VmPriority: pulumi.String("LowPriority"), VmSize: pulumi.String("Standard_DS2_v2"), MachineLearningWorkspaceId: exampleWorkspace.ID(), SubnetResourceId: exampleSubnet.ID(), ScaleSettings: &machinelearning.ComputeClusterScaleSettingsArgs{ MinNodeCount: pulumi.Int(0), MaxNodeCount: pulumi.Int(1), ScaleDownNodesAfterIdleDuration: pulumi.String("PT30S"), }, Identity: &machinelearning.ComputeClusterIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } return nil }) }
```
## Import
Machine Learning Compute Clusters can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:machinelearning/computeCluster:ComputeCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/computes/cluster1
```
func GetComputeCluster ¶ added in v4.8.0
func GetComputeCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ComputeClusterState, opts ...pulumi.ResourceOption) (*ComputeCluster, error)
GetComputeCluster gets an existing ComputeCluster 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 NewComputeCluster ¶ added in v4.8.0
func NewComputeCluster(ctx *pulumi.Context, name string, args *ComputeClusterArgs, opts ...pulumi.ResourceOption) (*ComputeCluster, error)
NewComputeCluster registers a new resource with the given unique name, arguments, and options.
func (*ComputeCluster) ElementType ¶ added in v4.8.0
func (*ComputeCluster) ElementType() reflect.Type
func (*ComputeCluster) ToComputeClusterOutput ¶ added in v4.8.0
func (i *ComputeCluster) ToComputeClusterOutput() ComputeClusterOutput
func (*ComputeCluster) ToComputeClusterOutputWithContext ¶ added in v4.8.0
func (i *ComputeCluster) ToComputeClusterOutputWithContext(ctx context.Context) ComputeClusterOutput
func (*ComputeCluster) ToComputeClusterPtrOutput ¶ added in v4.8.0
func (i *ComputeCluster) ToComputeClusterPtrOutput() ComputeClusterPtrOutput
func (*ComputeCluster) ToComputeClusterPtrOutputWithContext ¶ added in v4.8.0
func (i *ComputeCluster) ToComputeClusterPtrOutputWithContext(ctx context.Context) ComputeClusterPtrOutput
type ComputeClusterArgs ¶ added in v4.8.0
type ComputeClusterArgs struct { // The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created. Description pulumi.StringPtrInput // A `identity` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created. Identity ComputeClusterIdentityInput // The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created. Location pulumi.StringPtrInput // The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created. MachineLearningWorkspaceId pulumi.StringInput // The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created. Name pulumi.StringPtrInput // A `scaleSettings` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created. ScaleSettings ComputeClusterScaleSettingsInput // The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created. SubnetResourceId pulumi.StringPtrInput // A mapping of tags which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created. Tags pulumi.StringMapInput // The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. VmPriority pulumi.StringInput // The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. VmSize pulumi.StringInput }
The set of arguments for constructing a ComputeCluster resource.
func (ComputeClusterArgs) ElementType ¶ added in v4.8.0
func (ComputeClusterArgs) ElementType() reflect.Type
type ComputeClusterArray ¶ added in v4.8.0
type ComputeClusterArray []ComputeClusterInput
func (ComputeClusterArray) ElementType ¶ added in v4.8.0
func (ComputeClusterArray) ElementType() reflect.Type
func (ComputeClusterArray) ToComputeClusterArrayOutput ¶ added in v4.8.0
func (i ComputeClusterArray) ToComputeClusterArrayOutput() ComputeClusterArrayOutput
func (ComputeClusterArray) ToComputeClusterArrayOutputWithContext ¶ added in v4.8.0
func (i ComputeClusterArray) ToComputeClusterArrayOutputWithContext(ctx context.Context) ComputeClusterArrayOutput
type ComputeClusterArrayInput ¶ added in v4.8.0
type ComputeClusterArrayInput interface { pulumi.Input ToComputeClusterArrayOutput() ComputeClusterArrayOutput ToComputeClusterArrayOutputWithContext(context.Context) ComputeClusterArrayOutput }
ComputeClusterArrayInput is an input type that accepts ComputeClusterArray and ComputeClusterArrayOutput values. You can construct a concrete instance of `ComputeClusterArrayInput` via:
ComputeClusterArray{ ComputeClusterArgs{...} }
type ComputeClusterArrayOutput ¶ added in v4.8.0
type ComputeClusterArrayOutput struct{ *pulumi.OutputState }
func (ComputeClusterArrayOutput) ElementType ¶ added in v4.8.0
func (ComputeClusterArrayOutput) ElementType() reflect.Type
func (ComputeClusterArrayOutput) Index ¶ added in v4.8.0
func (o ComputeClusterArrayOutput) Index(i pulumi.IntInput) ComputeClusterOutput
func (ComputeClusterArrayOutput) ToComputeClusterArrayOutput ¶ added in v4.8.0
func (o ComputeClusterArrayOutput) ToComputeClusterArrayOutput() ComputeClusterArrayOutput
func (ComputeClusterArrayOutput) ToComputeClusterArrayOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterArrayOutput) ToComputeClusterArrayOutputWithContext(ctx context.Context) ComputeClusterArrayOutput
type ComputeClusterIdentity ¶ added in v4.8.0
type ComputeClusterIdentity struct { PrincipalId *string `pulumi:"principalId"` TenantId *string `pulumi:"tenantId"` // The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is SystemAssigned. Changing this forces a new Machine Learning Compute Cluster to be created. Type string `pulumi:"type"` }
type ComputeClusterIdentityArgs ¶ added in v4.8.0
type ComputeClusterIdentityArgs struct { PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is SystemAssigned. Changing this forces a new Machine Learning Compute Cluster to be created. Type pulumi.StringInput `pulumi:"type"` }
func (ComputeClusterIdentityArgs) ElementType ¶ added in v4.8.0
func (ComputeClusterIdentityArgs) ElementType() reflect.Type
func (ComputeClusterIdentityArgs) ToComputeClusterIdentityOutput ¶ added in v4.8.0
func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityOutput() ComputeClusterIdentityOutput
func (ComputeClusterIdentityArgs) ToComputeClusterIdentityOutputWithContext ¶ added in v4.8.0
func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityOutputWithContext(ctx context.Context) ComputeClusterIdentityOutput
func (ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutput ¶ added in v4.8.0
func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput
func (ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutputWithContext ¶ added in v4.8.0
func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutputWithContext(ctx context.Context) ComputeClusterIdentityPtrOutput
type ComputeClusterIdentityInput ¶ added in v4.8.0
type ComputeClusterIdentityInput interface { pulumi.Input ToComputeClusterIdentityOutput() ComputeClusterIdentityOutput ToComputeClusterIdentityOutputWithContext(context.Context) ComputeClusterIdentityOutput }
ComputeClusterIdentityInput is an input type that accepts ComputeClusterIdentityArgs and ComputeClusterIdentityOutput values. You can construct a concrete instance of `ComputeClusterIdentityInput` via:
ComputeClusterIdentityArgs{...}
type ComputeClusterIdentityOutput ¶ added in v4.8.0
type ComputeClusterIdentityOutput struct{ *pulumi.OutputState }
func (ComputeClusterIdentityOutput) ElementType ¶ added in v4.8.0
func (ComputeClusterIdentityOutput) ElementType() reflect.Type
func (ComputeClusterIdentityOutput) PrincipalId ¶ added in v4.8.0
func (o ComputeClusterIdentityOutput) PrincipalId() pulumi.StringPtrOutput
func (ComputeClusterIdentityOutput) TenantId ¶ added in v4.8.0
func (o ComputeClusterIdentityOutput) TenantId() pulumi.StringPtrOutput
func (ComputeClusterIdentityOutput) ToComputeClusterIdentityOutput ¶ added in v4.8.0
func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityOutput() ComputeClusterIdentityOutput
func (ComputeClusterIdentityOutput) ToComputeClusterIdentityOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityOutputWithContext(ctx context.Context) ComputeClusterIdentityOutput
func (ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutput ¶ added in v4.8.0
func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput
func (ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutputWithContext(ctx context.Context) ComputeClusterIdentityPtrOutput
func (ComputeClusterIdentityOutput) Type ¶ added in v4.8.0
func (o ComputeClusterIdentityOutput) Type() pulumi.StringOutput
The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is SystemAssigned. Changing this forces a new Machine Learning Compute Cluster to be created.
type ComputeClusterIdentityPtrInput ¶ added in v4.8.0
type ComputeClusterIdentityPtrInput interface { pulumi.Input ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput ToComputeClusterIdentityPtrOutputWithContext(context.Context) ComputeClusterIdentityPtrOutput }
ComputeClusterIdentityPtrInput is an input type that accepts ComputeClusterIdentityArgs, ComputeClusterIdentityPtr and ComputeClusterIdentityPtrOutput values. You can construct a concrete instance of `ComputeClusterIdentityPtrInput` via:
ComputeClusterIdentityArgs{...} or: nil
func ComputeClusterIdentityPtr ¶ added in v4.8.0
func ComputeClusterIdentityPtr(v *ComputeClusterIdentityArgs) ComputeClusterIdentityPtrInput
type ComputeClusterIdentityPtrOutput ¶ added in v4.8.0
type ComputeClusterIdentityPtrOutput struct{ *pulumi.OutputState }
func (ComputeClusterIdentityPtrOutput) Elem ¶ added in v4.8.0
func (o ComputeClusterIdentityPtrOutput) Elem() ComputeClusterIdentityOutput
func (ComputeClusterIdentityPtrOutput) ElementType ¶ added in v4.8.0
func (ComputeClusterIdentityPtrOutput) ElementType() reflect.Type
func (ComputeClusterIdentityPtrOutput) PrincipalId ¶ added in v4.8.0
func (o ComputeClusterIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
func (ComputeClusterIdentityPtrOutput) TenantId ¶ added in v4.8.0
func (o ComputeClusterIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
func (ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutput ¶ added in v4.8.0
func (o ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput
func (ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutputWithContext(ctx context.Context) ComputeClusterIdentityPtrOutput
func (ComputeClusterIdentityPtrOutput) Type ¶ added in v4.8.0
func (o ComputeClusterIdentityPtrOutput) Type() pulumi.StringPtrOutput
The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is SystemAssigned. Changing this forces a new Machine Learning Compute Cluster to be created.
type ComputeClusterInput ¶ added in v4.8.0
type ComputeClusterInput interface { pulumi.Input ToComputeClusterOutput() ComputeClusterOutput ToComputeClusterOutputWithContext(ctx context.Context) ComputeClusterOutput }
type ComputeClusterMap ¶ added in v4.8.0
type ComputeClusterMap map[string]ComputeClusterInput
func (ComputeClusterMap) ElementType ¶ added in v4.8.0
func (ComputeClusterMap) ElementType() reflect.Type
func (ComputeClusterMap) ToComputeClusterMapOutput ¶ added in v4.8.0
func (i ComputeClusterMap) ToComputeClusterMapOutput() ComputeClusterMapOutput
func (ComputeClusterMap) ToComputeClusterMapOutputWithContext ¶ added in v4.8.0
func (i ComputeClusterMap) ToComputeClusterMapOutputWithContext(ctx context.Context) ComputeClusterMapOutput
type ComputeClusterMapInput ¶ added in v4.8.0
type ComputeClusterMapInput interface { pulumi.Input ToComputeClusterMapOutput() ComputeClusterMapOutput ToComputeClusterMapOutputWithContext(context.Context) ComputeClusterMapOutput }
ComputeClusterMapInput is an input type that accepts ComputeClusterMap and ComputeClusterMapOutput values. You can construct a concrete instance of `ComputeClusterMapInput` via:
ComputeClusterMap{ "key": ComputeClusterArgs{...} }
type ComputeClusterMapOutput ¶ added in v4.8.0
type ComputeClusterMapOutput struct{ *pulumi.OutputState }
func (ComputeClusterMapOutput) ElementType ¶ added in v4.8.0
func (ComputeClusterMapOutput) ElementType() reflect.Type
func (ComputeClusterMapOutput) MapIndex ¶ added in v4.8.0
func (o ComputeClusterMapOutput) MapIndex(k pulumi.StringInput) ComputeClusterOutput
func (ComputeClusterMapOutput) ToComputeClusterMapOutput ¶ added in v4.8.0
func (o ComputeClusterMapOutput) ToComputeClusterMapOutput() ComputeClusterMapOutput
func (ComputeClusterMapOutput) ToComputeClusterMapOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterMapOutput) ToComputeClusterMapOutputWithContext(ctx context.Context) ComputeClusterMapOutput
type ComputeClusterOutput ¶ added in v4.8.0
type ComputeClusterOutput struct {
*pulumi.OutputState
}
func (ComputeClusterOutput) ElementType ¶ added in v4.8.0
func (ComputeClusterOutput) ElementType() reflect.Type
func (ComputeClusterOutput) ToComputeClusterOutput ¶ added in v4.8.0
func (o ComputeClusterOutput) ToComputeClusterOutput() ComputeClusterOutput
func (ComputeClusterOutput) ToComputeClusterOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterOutput) ToComputeClusterOutputWithContext(ctx context.Context) ComputeClusterOutput
func (ComputeClusterOutput) ToComputeClusterPtrOutput ¶ added in v4.8.0
func (o ComputeClusterOutput) ToComputeClusterPtrOutput() ComputeClusterPtrOutput
func (ComputeClusterOutput) ToComputeClusterPtrOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterOutput) ToComputeClusterPtrOutputWithContext(ctx context.Context) ComputeClusterPtrOutput
type ComputeClusterPtrInput ¶ added in v4.8.0
type ComputeClusterPtrInput interface { pulumi.Input ToComputeClusterPtrOutput() ComputeClusterPtrOutput ToComputeClusterPtrOutputWithContext(ctx context.Context) ComputeClusterPtrOutput }
type ComputeClusterPtrOutput ¶ added in v4.8.0
type ComputeClusterPtrOutput struct {
*pulumi.OutputState
}
func (ComputeClusterPtrOutput) ElementType ¶ added in v4.8.0
func (ComputeClusterPtrOutput) ElementType() reflect.Type
func (ComputeClusterPtrOutput) ToComputeClusterPtrOutput ¶ added in v4.8.0
func (o ComputeClusterPtrOutput) ToComputeClusterPtrOutput() ComputeClusterPtrOutput
func (ComputeClusterPtrOutput) ToComputeClusterPtrOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterPtrOutput) ToComputeClusterPtrOutputWithContext(ctx context.Context) ComputeClusterPtrOutput
type ComputeClusterScaleSettings ¶ added in v4.8.0
type ComputeClusterScaleSettings struct { // Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created. MaxNodeCount int `pulumi:"maxNodeCount"` // Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created. MinNodeCount int `pulumi:"minNodeCount"` // Node Idle Time Before Scale Down: defines the time until the compute is shutdown when it has gone into Idle state. Is defined according to W3C XML schema standard for duration. Changing this forces a new Machine Learning Compute Cluster to be created. ScaleDownNodesAfterIdleDuration string `pulumi:"scaleDownNodesAfterIdleDuration"` }
type ComputeClusterScaleSettingsArgs ¶ added in v4.8.0
type ComputeClusterScaleSettingsArgs struct { // Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created. MaxNodeCount pulumi.IntInput `pulumi:"maxNodeCount"` // Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created. MinNodeCount pulumi.IntInput `pulumi:"minNodeCount"` // Node Idle Time Before Scale Down: defines the time until the compute is shutdown when it has gone into Idle state. Is defined according to W3C XML schema standard for duration. Changing this forces a new Machine Learning Compute Cluster to be created. ScaleDownNodesAfterIdleDuration pulumi.StringInput `pulumi:"scaleDownNodesAfterIdleDuration"` }
func (ComputeClusterScaleSettingsArgs) ElementType ¶ added in v4.8.0
func (ComputeClusterScaleSettingsArgs) ElementType() reflect.Type
func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutput ¶ added in v4.8.0
func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutput() ComputeClusterScaleSettingsOutput
func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutputWithContext ¶ added in v4.8.0
func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsOutput
func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutput ¶ added in v4.8.0
func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput
func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutputWithContext ¶ added in v4.8.0
func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsPtrOutput
type ComputeClusterScaleSettingsInput ¶ added in v4.8.0
type ComputeClusterScaleSettingsInput interface { pulumi.Input ToComputeClusterScaleSettingsOutput() ComputeClusterScaleSettingsOutput ToComputeClusterScaleSettingsOutputWithContext(context.Context) ComputeClusterScaleSettingsOutput }
ComputeClusterScaleSettingsInput is an input type that accepts ComputeClusterScaleSettingsArgs and ComputeClusterScaleSettingsOutput values. You can construct a concrete instance of `ComputeClusterScaleSettingsInput` via:
ComputeClusterScaleSettingsArgs{...}
type ComputeClusterScaleSettingsOutput ¶ added in v4.8.0
type ComputeClusterScaleSettingsOutput struct{ *pulumi.OutputState }
func (ComputeClusterScaleSettingsOutput) ElementType ¶ added in v4.8.0
func (ComputeClusterScaleSettingsOutput) ElementType() reflect.Type
func (ComputeClusterScaleSettingsOutput) MaxNodeCount ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsOutput) MaxNodeCount() pulumi.IntOutput
Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
func (ComputeClusterScaleSettingsOutput) MinNodeCount ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsOutput) MinNodeCount() pulumi.IntOutput
Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
func (ComputeClusterScaleSettingsOutput) ScaleDownNodesAfterIdleDuration ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsOutput) ScaleDownNodesAfterIdleDuration() pulumi.StringOutput
Node Idle Time Before Scale Down: defines the time until the compute is shutdown when it has gone into Idle state. Is defined according to W3C XML schema standard for duration. Changing this forces a new Machine Learning Compute Cluster to be created.
func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutput ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutput() ComputeClusterScaleSettingsOutput
func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsOutput
func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutput ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput
func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsPtrOutput
type ComputeClusterScaleSettingsPtrInput ¶ added in v4.8.0
type ComputeClusterScaleSettingsPtrInput interface { pulumi.Input ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput ToComputeClusterScaleSettingsPtrOutputWithContext(context.Context) ComputeClusterScaleSettingsPtrOutput }
ComputeClusterScaleSettingsPtrInput is an input type that accepts ComputeClusterScaleSettingsArgs, ComputeClusterScaleSettingsPtr and ComputeClusterScaleSettingsPtrOutput values. You can construct a concrete instance of `ComputeClusterScaleSettingsPtrInput` via:
ComputeClusterScaleSettingsArgs{...} or: nil
func ComputeClusterScaleSettingsPtr ¶ added in v4.8.0
func ComputeClusterScaleSettingsPtr(v *ComputeClusterScaleSettingsArgs) ComputeClusterScaleSettingsPtrInput
type ComputeClusterScaleSettingsPtrOutput ¶ added in v4.8.0
type ComputeClusterScaleSettingsPtrOutput struct{ *pulumi.OutputState }
func (ComputeClusterScaleSettingsPtrOutput) ElementType ¶ added in v4.8.0
func (ComputeClusterScaleSettingsPtrOutput) ElementType() reflect.Type
func (ComputeClusterScaleSettingsPtrOutput) MaxNodeCount ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsPtrOutput) MaxNodeCount() pulumi.IntPtrOutput
Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
func (ComputeClusterScaleSettingsPtrOutput) MinNodeCount ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsPtrOutput) MinNodeCount() pulumi.IntPtrOutput
Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
func (ComputeClusterScaleSettingsPtrOutput) ScaleDownNodesAfterIdleDuration ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsPtrOutput) ScaleDownNodesAfterIdleDuration() pulumi.StringPtrOutput
Node Idle Time Before Scale Down: defines the time until the compute is shutdown when it has gone into Idle state. Is defined according to W3C XML schema standard for duration. Changing this forces a new Machine Learning Compute Cluster to be created.
func (ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutput ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput
func (ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutputWithContext ¶ added in v4.8.0
func (o ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsPtrOutput
type ComputeClusterState ¶ added in v4.8.0
type ComputeClusterState struct { // The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created. Description pulumi.StringPtrInput // A `identity` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created. Identity ComputeClusterIdentityPtrInput // The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created. Location pulumi.StringPtrInput // The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created. MachineLearningWorkspaceId pulumi.StringPtrInput // The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created. Name pulumi.StringPtrInput // A `scaleSettings` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created. ScaleSettings ComputeClusterScaleSettingsPtrInput // The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created. SubnetResourceId pulumi.StringPtrInput // A mapping of tags which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created. Tags pulumi.StringMapInput // The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. VmPriority pulumi.StringPtrInput // The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. VmSize pulumi.StringPtrInput }
func (ComputeClusterState) ElementType ¶ added in v4.8.0
func (ComputeClusterState) ElementType() reflect.Type
type GetWorkspaceIdentity ¶
type GetWorkspaceIdentityArgs ¶
type GetWorkspaceIdentityArgs struct { PrincipalId pulumi.StringInput `pulumi:"principalId"` TenantId pulumi.StringInput `pulumi:"tenantId"` Type pulumi.StringInput `pulumi:"type"` }
func (GetWorkspaceIdentityArgs) ElementType ¶
func (GetWorkspaceIdentityArgs) ElementType() reflect.Type
func (GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutput ¶
func (i GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput
func (GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutputWithContext ¶
func (i GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutputWithContext(ctx context.Context) GetWorkspaceIdentityOutput
type GetWorkspaceIdentityArray ¶
type GetWorkspaceIdentityArray []GetWorkspaceIdentityInput
func (GetWorkspaceIdentityArray) ElementType ¶
func (GetWorkspaceIdentityArray) ElementType() reflect.Type
func (GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutput ¶
func (i GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput
func (GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutputWithContext ¶
func (i GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutputWithContext(ctx context.Context) GetWorkspaceIdentityArrayOutput
type GetWorkspaceIdentityArrayInput ¶
type GetWorkspaceIdentityArrayInput interface { pulumi.Input ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput ToGetWorkspaceIdentityArrayOutputWithContext(context.Context) GetWorkspaceIdentityArrayOutput }
GetWorkspaceIdentityArrayInput is an input type that accepts GetWorkspaceIdentityArray and GetWorkspaceIdentityArrayOutput values. You can construct a concrete instance of `GetWorkspaceIdentityArrayInput` via:
GetWorkspaceIdentityArray{ GetWorkspaceIdentityArgs{...} }
type GetWorkspaceIdentityArrayOutput ¶
type GetWorkspaceIdentityArrayOutput struct{ *pulumi.OutputState }
func (GetWorkspaceIdentityArrayOutput) ElementType ¶
func (GetWorkspaceIdentityArrayOutput) ElementType() reflect.Type
func (GetWorkspaceIdentityArrayOutput) Index ¶
func (o GetWorkspaceIdentityArrayOutput) Index(i pulumi.IntInput) GetWorkspaceIdentityOutput
func (GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput ¶
func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput
func (GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutputWithContext ¶
func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutputWithContext(ctx context.Context) GetWorkspaceIdentityArrayOutput
type GetWorkspaceIdentityInput ¶
type GetWorkspaceIdentityInput interface { pulumi.Input ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput ToGetWorkspaceIdentityOutputWithContext(context.Context) GetWorkspaceIdentityOutput }
GetWorkspaceIdentityInput is an input type that accepts GetWorkspaceIdentityArgs and GetWorkspaceIdentityOutput values. You can construct a concrete instance of `GetWorkspaceIdentityInput` via:
GetWorkspaceIdentityArgs{...}
type GetWorkspaceIdentityOutput ¶
type GetWorkspaceIdentityOutput struct{ *pulumi.OutputState }
func (GetWorkspaceIdentityOutput) ElementType ¶
func (GetWorkspaceIdentityOutput) ElementType() reflect.Type
func (GetWorkspaceIdentityOutput) PrincipalId ¶
func (o GetWorkspaceIdentityOutput) PrincipalId() pulumi.StringOutput
func (GetWorkspaceIdentityOutput) TenantId ¶
func (o GetWorkspaceIdentityOutput) TenantId() pulumi.StringOutput
func (GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput ¶
func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput
func (GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutputWithContext ¶
func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutputWithContext(ctx context.Context) GetWorkspaceIdentityOutput
func (GetWorkspaceIdentityOutput) Type ¶
func (o GetWorkspaceIdentityOutput) Type() pulumi.StringOutput
type InferenceCluster ¶ added in v4.4.0
type InferenceCluster struct { pulumi.CustomResourceState // The purpose of the Inference Cluster. Options are `DevTest`, `DenseProd` and `FastProd`. If used for Development or Testing, use `DevTest` here. Default purpose is `FastProd`, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. ClusterPurpose pulumi.StringPtrOutput `pulumi:"clusterPurpose"` // The description of the Machine Learning compute. Changing this forces a new Machine Learning Inference Cluster to be created. Description pulumi.StringPtrOutput `pulumi:"description"` // The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created. KubernetesClusterId pulumi.StringOutput `pulumi:"kubernetesClusterId"` // The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created. Location pulumi.StringOutput `pulumi:"location"` // The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created. MachineLearningWorkspaceId pulumi.StringOutput `pulumi:"machineLearningWorkspaceId"` // The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created. Name pulumi.StringOutput `pulumi:"name"` // A `ssl` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. Ssl InferenceClusterSslPtrOutput `pulumi:"ssl"` // A mapping of tags which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Machine Learning Inference Cluster.
> **NOTE:** The Machine Learning Inference Cluster resource is used to attach an existing AKS cluster to the Machine Learning Workspace, it doesn't create the AKS cluster itself. Therefore it can only be created and deleted, not updated. Any change to the configuration will recreate the resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/containerservice" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("west europe"), Tags: pulumi.StringMap{ "stage": pulumi.String("example"), }, }) if err != nil { return err } exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, ApplicationType: pulumi.String("web"), }) if err != nil { return err } exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, TenantId: pulumi.String(current.TenantId), SkuName: pulumi.String("standard"), PurgeProtectionEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, ApplicationInsightsId: exampleInsights.ID(), KeyVaultId: exampleKeyVault.ID(), StorageAccountId: exampleAccount.ID(), Identity: &machinelearning.WorkspaceIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ AddressSpaces: pulumi.StringArray{ pulumi.String("10.1.0.0/16"), }, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefix: pulumi.String("10.1.0.0/24"), }) if err != nil { return err } exampleKubernetesCluster, err := containerservice.NewKubernetesCluster(ctx, "exampleKubernetesCluster", &containerservice.KubernetesClusterArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, DefaultNodePool: &containerservice.KubernetesClusterDefaultNodePoolArgs{ Name: pulumi.String("default"), NodeCount: pulumi.Int(3), VmSize: pulumi.String("Standard_D3_v2"), VnetSubnetId: exampleSubnet.ID(), }, Identity: &containerservice.KubernetesClusterIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } _, err = machinelearning.NewInferenceCluster(ctx, "exampleInferenceCluster", &machinelearning.InferenceClusterArgs{ Location: exampleResourceGroup.Location, ClusterPurpose: pulumi.String("FastProd"), KubernetesClusterId: exampleKubernetesCluster.ID(), Description: pulumi.String("This is an example cluster used with Terraform"), MachineLearningWorkspaceId: exampleWorkspace.ID(), Tags: pulumi.StringMap{ "stage": pulumi.String("example"), }, }) if err != nil { return err } return nil }) }
```
## Import
Machine Learning Inference Clusters can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:machinelearning/inferenceCluster:InferenceCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/computes/cluster1
```
func GetInferenceCluster ¶ added in v4.4.0
func GetInferenceCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InferenceClusterState, opts ...pulumi.ResourceOption) (*InferenceCluster, error)
GetInferenceCluster gets an existing InferenceCluster 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 NewInferenceCluster ¶ added in v4.4.0
func NewInferenceCluster(ctx *pulumi.Context, name string, args *InferenceClusterArgs, opts ...pulumi.ResourceOption) (*InferenceCluster, error)
NewInferenceCluster registers a new resource with the given unique name, arguments, and options.
func (*InferenceCluster) ElementType ¶ added in v4.4.0
func (*InferenceCluster) ElementType() reflect.Type
func (*InferenceCluster) ToInferenceClusterOutput ¶ added in v4.4.0
func (i *InferenceCluster) ToInferenceClusterOutput() InferenceClusterOutput
func (*InferenceCluster) ToInferenceClusterOutputWithContext ¶ added in v4.4.0
func (i *InferenceCluster) ToInferenceClusterOutputWithContext(ctx context.Context) InferenceClusterOutput
func (*InferenceCluster) ToInferenceClusterPtrOutput ¶ added in v4.4.0
func (i *InferenceCluster) ToInferenceClusterPtrOutput() InferenceClusterPtrOutput
func (*InferenceCluster) ToInferenceClusterPtrOutputWithContext ¶ added in v4.4.0
func (i *InferenceCluster) ToInferenceClusterPtrOutputWithContext(ctx context.Context) InferenceClusterPtrOutput
type InferenceClusterArgs ¶ added in v4.4.0
type InferenceClusterArgs struct { // The purpose of the Inference Cluster. Options are `DevTest`, `DenseProd` and `FastProd`. If used for Development or Testing, use `DevTest` here. Default purpose is `FastProd`, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. ClusterPurpose pulumi.StringPtrInput // The description of the Machine Learning compute. Changing this forces a new Machine Learning Inference Cluster to be created. Description pulumi.StringPtrInput // The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created. KubernetesClusterId pulumi.StringInput // The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created. Location pulumi.StringPtrInput // The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created. MachineLearningWorkspaceId pulumi.StringInput // The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created. Name pulumi.StringPtrInput // A `ssl` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. Ssl InferenceClusterSslPtrInput // A mapping of tags which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created. Tags pulumi.StringMapInput }
The set of arguments for constructing a InferenceCluster resource.
func (InferenceClusterArgs) ElementType ¶ added in v4.4.0
func (InferenceClusterArgs) ElementType() reflect.Type
type InferenceClusterArray ¶ added in v4.4.0
type InferenceClusterArray []InferenceClusterInput
func (InferenceClusterArray) ElementType ¶ added in v4.4.0
func (InferenceClusterArray) ElementType() reflect.Type
func (InferenceClusterArray) ToInferenceClusterArrayOutput ¶ added in v4.4.0
func (i InferenceClusterArray) ToInferenceClusterArrayOutput() InferenceClusterArrayOutput
func (InferenceClusterArray) ToInferenceClusterArrayOutputWithContext ¶ added in v4.4.0
func (i InferenceClusterArray) ToInferenceClusterArrayOutputWithContext(ctx context.Context) InferenceClusterArrayOutput
type InferenceClusterArrayInput ¶ added in v4.4.0
type InferenceClusterArrayInput interface { pulumi.Input ToInferenceClusterArrayOutput() InferenceClusterArrayOutput ToInferenceClusterArrayOutputWithContext(context.Context) InferenceClusterArrayOutput }
InferenceClusterArrayInput is an input type that accepts InferenceClusterArray and InferenceClusterArrayOutput values. You can construct a concrete instance of `InferenceClusterArrayInput` via:
InferenceClusterArray{ InferenceClusterArgs{...} }
type InferenceClusterArrayOutput ¶ added in v4.4.0
type InferenceClusterArrayOutput struct{ *pulumi.OutputState }
func (InferenceClusterArrayOutput) ElementType ¶ added in v4.4.0
func (InferenceClusterArrayOutput) ElementType() reflect.Type
func (InferenceClusterArrayOutput) Index ¶ added in v4.4.0
func (o InferenceClusterArrayOutput) Index(i pulumi.IntInput) InferenceClusterOutput
func (InferenceClusterArrayOutput) ToInferenceClusterArrayOutput ¶ added in v4.4.0
func (o InferenceClusterArrayOutput) ToInferenceClusterArrayOutput() InferenceClusterArrayOutput
func (InferenceClusterArrayOutput) ToInferenceClusterArrayOutputWithContext ¶ added in v4.4.0
func (o InferenceClusterArrayOutput) ToInferenceClusterArrayOutputWithContext(ctx context.Context) InferenceClusterArrayOutput
type InferenceClusterInput ¶ added in v4.4.0
type InferenceClusterInput interface { pulumi.Input ToInferenceClusterOutput() InferenceClusterOutput ToInferenceClusterOutputWithContext(ctx context.Context) InferenceClusterOutput }
type InferenceClusterMap ¶ added in v4.4.0
type InferenceClusterMap map[string]InferenceClusterInput
func (InferenceClusterMap) ElementType ¶ added in v4.4.0
func (InferenceClusterMap) ElementType() reflect.Type
func (InferenceClusterMap) ToInferenceClusterMapOutput ¶ added in v4.4.0
func (i InferenceClusterMap) ToInferenceClusterMapOutput() InferenceClusterMapOutput
func (InferenceClusterMap) ToInferenceClusterMapOutputWithContext ¶ added in v4.4.0
func (i InferenceClusterMap) ToInferenceClusterMapOutputWithContext(ctx context.Context) InferenceClusterMapOutput
type InferenceClusterMapInput ¶ added in v4.4.0
type InferenceClusterMapInput interface { pulumi.Input ToInferenceClusterMapOutput() InferenceClusterMapOutput ToInferenceClusterMapOutputWithContext(context.Context) InferenceClusterMapOutput }
InferenceClusterMapInput is an input type that accepts InferenceClusterMap and InferenceClusterMapOutput values. You can construct a concrete instance of `InferenceClusterMapInput` via:
InferenceClusterMap{ "key": InferenceClusterArgs{...} }
type InferenceClusterMapOutput ¶ added in v4.4.0
type InferenceClusterMapOutput struct{ *pulumi.OutputState }
func (InferenceClusterMapOutput) ElementType ¶ added in v4.4.0
func (InferenceClusterMapOutput) ElementType() reflect.Type
func (InferenceClusterMapOutput) MapIndex ¶ added in v4.4.0
func (o InferenceClusterMapOutput) MapIndex(k pulumi.StringInput) InferenceClusterOutput
func (InferenceClusterMapOutput) ToInferenceClusterMapOutput ¶ added in v4.4.0
func (o InferenceClusterMapOutput) ToInferenceClusterMapOutput() InferenceClusterMapOutput
func (InferenceClusterMapOutput) ToInferenceClusterMapOutputWithContext ¶ added in v4.4.0
func (o InferenceClusterMapOutput) ToInferenceClusterMapOutputWithContext(ctx context.Context) InferenceClusterMapOutput
type InferenceClusterOutput ¶ added in v4.4.0
type InferenceClusterOutput struct {
*pulumi.OutputState
}
func (InferenceClusterOutput) ElementType ¶ added in v4.4.0
func (InferenceClusterOutput) ElementType() reflect.Type
func (InferenceClusterOutput) ToInferenceClusterOutput ¶ added in v4.4.0
func (o InferenceClusterOutput) ToInferenceClusterOutput() InferenceClusterOutput
func (InferenceClusterOutput) ToInferenceClusterOutputWithContext ¶ added in v4.4.0
func (o InferenceClusterOutput) ToInferenceClusterOutputWithContext(ctx context.Context) InferenceClusterOutput
func (InferenceClusterOutput) ToInferenceClusterPtrOutput ¶ added in v4.4.0
func (o InferenceClusterOutput) ToInferenceClusterPtrOutput() InferenceClusterPtrOutput
func (InferenceClusterOutput) ToInferenceClusterPtrOutputWithContext ¶ added in v4.4.0
func (o InferenceClusterOutput) ToInferenceClusterPtrOutputWithContext(ctx context.Context) InferenceClusterPtrOutput
type InferenceClusterPtrInput ¶ added in v4.4.0
type InferenceClusterPtrInput interface { pulumi.Input ToInferenceClusterPtrOutput() InferenceClusterPtrOutput ToInferenceClusterPtrOutputWithContext(ctx context.Context) InferenceClusterPtrOutput }
type InferenceClusterPtrOutput ¶ added in v4.4.0
type InferenceClusterPtrOutput struct {
*pulumi.OutputState
}
func (InferenceClusterPtrOutput) ElementType ¶ added in v4.4.0
func (InferenceClusterPtrOutput) ElementType() reflect.Type
func (InferenceClusterPtrOutput) ToInferenceClusterPtrOutput ¶ added in v4.4.0
func (o InferenceClusterPtrOutput) ToInferenceClusterPtrOutput() InferenceClusterPtrOutput
func (InferenceClusterPtrOutput) ToInferenceClusterPtrOutputWithContext ¶ added in v4.4.0
func (o InferenceClusterPtrOutput) ToInferenceClusterPtrOutputWithContext(ctx context.Context) InferenceClusterPtrOutput
type InferenceClusterSsl ¶ added in v4.4.0
type InferenceClusterSsl struct { // The certificate for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created. Cert *string `pulumi:"cert"` // The cname of the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created. Cname *string `pulumi:"cname"` // The key content for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created. Key *string `pulumi:"key"` // The leaf domain label for the ssl configuration. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname`. Changing this forces a new Machine Learning Inference Cluster to be created. LeafDomainLabel *string `pulumi:"leafDomainLabel"` // Whether or not to overwrite existing leaf domain. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname` Changing this forces a new Machine Learning Inference Cluster to be created. OverwriteExistingDomain *bool `pulumi:"overwriteExistingDomain"` }
type InferenceClusterSslArgs ¶ added in v4.4.0
type InferenceClusterSslArgs struct { // The certificate for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created. Cert pulumi.StringPtrInput `pulumi:"cert"` // The cname of the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created. Cname pulumi.StringPtrInput `pulumi:"cname"` // The key content for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created. Key pulumi.StringPtrInput `pulumi:"key"` // The leaf domain label for the ssl configuration. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname`. Changing this forces a new Machine Learning Inference Cluster to be created. LeafDomainLabel pulumi.StringPtrInput `pulumi:"leafDomainLabel"` // Whether or not to overwrite existing leaf domain. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname` Changing this forces a new Machine Learning Inference Cluster to be created. OverwriteExistingDomain pulumi.BoolPtrInput `pulumi:"overwriteExistingDomain"` }
func (InferenceClusterSslArgs) ElementType ¶ added in v4.4.0
func (InferenceClusterSslArgs) ElementType() reflect.Type
func (InferenceClusterSslArgs) ToInferenceClusterSslOutput ¶ added in v4.4.0
func (i InferenceClusterSslArgs) ToInferenceClusterSslOutput() InferenceClusterSslOutput
func (InferenceClusterSslArgs) ToInferenceClusterSslOutputWithContext ¶ added in v4.4.0
func (i InferenceClusterSslArgs) ToInferenceClusterSslOutputWithContext(ctx context.Context) InferenceClusterSslOutput
func (InferenceClusterSslArgs) ToInferenceClusterSslPtrOutput ¶ added in v4.4.0
func (i InferenceClusterSslArgs) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput
func (InferenceClusterSslArgs) ToInferenceClusterSslPtrOutputWithContext ¶ added in v4.4.0
func (i InferenceClusterSslArgs) ToInferenceClusterSslPtrOutputWithContext(ctx context.Context) InferenceClusterSslPtrOutput
type InferenceClusterSslInput ¶ added in v4.4.0
type InferenceClusterSslInput interface { pulumi.Input ToInferenceClusterSslOutput() InferenceClusterSslOutput ToInferenceClusterSslOutputWithContext(context.Context) InferenceClusterSslOutput }
InferenceClusterSslInput is an input type that accepts InferenceClusterSslArgs and InferenceClusterSslOutput values. You can construct a concrete instance of `InferenceClusterSslInput` via:
InferenceClusterSslArgs{...}
type InferenceClusterSslOutput ¶ added in v4.4.0
type InferenceClusterSslOutput struct{ *pulumi.OutputState }
func (InferenceClusterSslOutput) Cert ¶ added in v4.4.0
func (o InferenceClusterSslOutput) Cert() pulumi.StringPtrOutput
The certificate for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
func (InferenceClusterSslOutput) Cname ¶ added in v4.4.0
func (o InferenceClusterSslOutput) Cname() pulumi.StringPtrOutput
The cname of the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
func (InferenceClusterSslOutput) ElementType ¶ added in v4.4.0
func (InferenceClusterSslOutput) ElementType() reflect.Type
func (InferenceClusterSslOutput) Key ¶ added in v4.4.0
func (o InferenceClusterSslOutput) Key() pulumi.StringPtrOutput
The key content for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
func (InferenceClusterSslOutput) LeafDomainLabel ¶ added in v4.7.0
func (o InferenceClusterSslOutput) LeafDomainLabel() pulumi.StringPtrOutput
The leaf domain label for the ssl configuration. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname`. Changing this forces a new Machine Learning Inference Cluster to be created.
func (InferenceClusterSslOutput) OverwriteExistingDomain ¶ added in v4.7.0
func (o InferenceClusterSslOutput) OverwriteExistingDomain() pulumi.BoolPtrOutput
Whether or not to overwrite existing leaf domain. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname` Changing this forces a new Machine Learning Inference Cluster to be created.
func (InferenceClusterSslOutput) ToInferenceClusterSslOutput ¶ added in v4.4.0
func (o InferenceClusterSslOutput) ToInferenceClusterSslOutput() InferenceClusterSslOutput
func (InferenceClusterSslOutput) ToInferenceClusterSslOutputWithContext ¶ added in v4.4.0
func (o InferenceClusterSslOutput) ToInferenceClusterSslOutputWithContext(ctx context.Context) InferenceClusterSslOutput
func (InferenceClusterSslOutput) ToInferenceClusterSslPtrOutput ¶ added in v4.4.0
func (o InferenceClusterSslOutput) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput
func (InferenceClusterSslOutput) ToInferenceClusterSslPtrOutputWithContext ¶ added in v4.4.0
func (o InferenceClusterSslOutput) ToInferenceClusterSslPtrOutputWithContext(ctx context.Context) InferenceClusterSslPtrOutput
type InferenceClusterSslPtrInput ¶ added in v4.4.0
type InferenceClusterSslPtrInput interface { pulumi.Input ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput ToInferenceClusterSslPtrOutputWithContext(context.Context) InferenceClusterSslPtrOutput }
InferenceClusterSslPtrInput is an input type that accepts InferenceClusterSslArgs, InferenceClusterSslPtr and InferenceClusterSslPtrOutput values. You can construct a concrete instance of `InferenceClusterSslPtrInput` via:
InferenceClusterSslArgs{...} or: nil
func InferenceClusterSslPtr ¶ added in v4.4.0
func InferenceClusterSslPtr(v *InferenceClusterSslArgs) InferenceClusterSslPtrInput
type InferenceClusterSslPtrOutput ¶ added in v4.4.0
type InferenceClusterSslPtrOutput struct{ *pulumi.OutputState }
func (InferenceClusterSslPtrOutput) Cert ¶ added in v4.4.0
func (o InferenceClusterSslPtrOutput) Cert() pulumi.StringPtrOutput
The certificate for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
func (InferenceClusterSslPtrOutput) Cname ¶ added in v4.4.0
func (o InferenceClusterSslPtrOutput) Cname() pulumi.StringPtrOutput
The cname of the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
func (InferenceClusterSslPtrOutput) Elem ¶ added in v4.4.0
func (o InferenceClusterSslPtrOutput) Elem() InferenceClusterSslOutput
func (InferenceClusterSslPtrOutput) ElementType ¶ added in v4.4.0
func (InferenceClusterSslPtrOutput) ElementType() reflect.Type
func (InferenceClusterSslPtrOutput) Key ¶ added in v4.4.0
func (o InferenceClusterSslPtrOutput) Key() pulumi.StringPtrOutput
The key content for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
func (InferenceClusterSslPtrOutput) LeafDomainLabel ¶ added in v4.7.0
func (o InferenceClusterSslPtrOutput) LeafDomainLabel() pulumi.StringPtrOutput
The leaf domain label for the ssl configuration. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname`. Changing this forces a new Machine Learning Inference Cluster to be created.
func (InferenceClusterSslPtrOutput) OverwriteExistingDomain ¶ added in v4.7.0
func (o InferenceClusterSslPtrOutput) OverwriteExistingDomain() pulumi.BoolPtrOutput
Whether or not to overwrite existing leaf domain. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname` Changing this forces a new Machine Learning Inference Cluster to be created.
func (InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutput ¶ added in v4.4.0
func (o InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput
func (InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutputWithContext ¶ added in v4.4.0
func (o InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutputWithContext(ctx context.Context) InferenceClusterSslPtrOutput
type InferenceClusterState ¶ added in v4.4.0
type InferenceClusterState struct { // The purpose of the Inference Cluster. Options are `DevTest`, `DenseProd` and `FastProd`. If used for Development or Testing, use `DevTest` here. Default purpose is `FastProd`, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. ClusterPurpose pulumi.StringPtrInput // The description of the Machine Learning compute. Changing this forces a new Machine Learning Inference Cluster to be created. Description pulumi.StringPtrInput // The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created. KubernetesClusterId pulumi.StringPtrInput // The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created. Location pulumi.StringPtrInput // The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created. MachineLearningWorkspaceId pulumi.StringPtrInput // The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created. Name pulumi.StringPtrInput // A `ssl` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. Ssl InferenceClusterSslPtrInput // A mapping of tags which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created. Tags pulumi.StringMapInput }
func (InferenceClusterState) ElementType ¶ added in v4.4.0
func (InferenceClusterState) ElementType() reflect.Type
type LookupWorkspaceArgs ¶
type LookupWorkspaceArgs struct { // The name of the Machine Learning Workspace exists. Name string `pulumi:"name"` // The name of the Resource Group where the Machine Learning Workspace exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getWorkspace.
type LookupWorkspaceResult ¶
type LookupWorkspaceResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Identities []GetWorkspaceIdentity `pulumi:"identities"` // The location where the Machine Learning Workspace exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the Machine Learning Workspace. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getWorkspace.
func LookupWorkspace ¶
func LookupWorkspace(ctx *pulumi.Context, args *LookupWorkspaceArgs, opts ...pulumi.InvokeOption) (*LookupWorkspaceResult, error)
Use this data source to access information about an existing Machine Learning Workspace.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := machinelearning.LookupWorkspace(ctx, &machinelearning.LookupWorkspaceArgs{ Name: "example-workspace", ResourceGroupName: "example-resources", }, nil) if err != nil { return err } ctx.Export("id", azurerm_machine_learning_workspace.Existing.Id) return nil }) }
```
type Workspace ¶
type Workspace struct { pulumi.CustomResourceState // The ID of the Application Insights associated with this Machine Learning Workspace. Changing this forces a new resource to be created. ApplicationInsightsId pulumi.StringOutput `pulumi:"applicationInsightsId"` // The ID of the container registry associated with this Machine Learning Workspace. Changing this forces a new resource to be created. ContainerRegistryId pulumi.StringPtrOutput `pulumi:"containerRegistryId"` // The description of this Machine Learning Workspace. Description pulumi.StringPtrOutput `pulumi:"description"` // Friendly name for this Machine Learning Workspace. FriendlyName pulumi.StringPtrOutput `pulumi:"friendlyName"` // Flag to signal High Business Impact (HBI) data in the workspace and reduce diagnostic data collected by the service HighBusinessImpact pulumi.BoolPtrOutput `pulumi:"highBusinessImpact"` // An `identity` block defined below. Identity WorkspaceIdentityOutput `pulumi:"identity"` // The ID of key vault associated with this Machine Learning Workspace. Changing this forces a new resource to be created. KeyVaultId pulumi.StringOutput `pulumi:"keyVaultId"` // Specifies the supported Azure location where the Machine Learning Workspace should exist. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Machine Learning Workspace. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the name of the Resource Group in which the Machine Learning Workspace should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // SKU/edition of the Machine Learning Workspace, possible values are `Basic`. Defaults to `Basic`. SkuName pulumi.StringPtrOutput `pulumi:"skuName"` // The ID of the Storage Account associated with this Machine Learning Workspace. Changing this forces a new resource to be created. StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"` // A mapping of tags to assign to the resource. Changing this forces a new resource to be created. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Azure Machine Learning Workspace
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, ApplicationType: pulumi.String("web"), }) if err != nil { return err } exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, TenantId: pulumi.String(current.TenantId), SkuName: pulumi.String("premium"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("GRS"), }) if err != nil { return err } _, err = machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, ApplicationInsightsId: exampleInsights.ID(), KeyVaultId: exampleKeyVault.ID(), StorageAccountId: exampleAccount.ID(), Identity: &machinelearning.WorkspaceIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } return nil }) }
```
## Import
Machine Learning Workspace can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:machinelearning/workspace:Workspace example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/workspace1
```
func GetWorkspace ¶
func GetWorkspace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceState, opts ...pulumi.ResourceOption) (*Workspace, error)
GetWorkspace gets an existing Workspace 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 NewWorkspace ¶
func NewWorkspace(ctx *pulumi.Context, name string, args *WorkspaceArgs, opts ...pulumi.ResourceOption) (*Workspace, error)
NewWorkspace registers a new resource with the given unique name, arguments, and options.
func (*Workspace) ElementType ¶
func (*Workspace) ToWorkspaceOutput ¶
func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput
func (*Workspace) ToWorkspaceOutputWithContext ¶
func (i *Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
func (*Workspace) ToWorkspacePtrOutput ¶
func (i *Workspace) ToWorkspacePtrOutput() WorkspacePtrOutput
func (*Workspace) ToWorkspacePtrOutputWithContext ¶
func (i *Workspace) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
type WorkspaceArgs ¶
type WorkspaceArgs struct { // The ID of the Application Insights associated with this Machine Learning Workspace. Changing this forces a new resource to be created. ApplicationInsightsId pulumi.StringInput // The ID of the container registry associated with this Machine Learning Workspace. Changing this forces a new resource to be created. ContainerRegistryId pulumi.StringPtrInput // The description of this Machine Learning Workspace. Description pulumi.StringPtrInput // Friendly name for this Machine Learning Workspace. FriendlyName pulumi.StringPtrInput // Flag to signal High Business Impact (HBI) data in the workspace and reduce diagnostic data collected by the service HighBusinessImpact pulumi.BoolPtrInput // An `identity` block defined below. Identity WorkspaceIdentityInput // The ID of key vault associated with this Machine Learning Workspace. Changing this forces a new resource to be created. KeyVaultId pulumi.StringInput // Specifies the supported Azure location where the Machine Learning Workspace should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Machine Learning Workspace. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the name of the Resource Group in which the Machine Learning Workspace should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // SKU/edition of the Machine Learning Workspace, possible values are `Basic`. Defaults to `Basic`. SkuName pulumi.StringPtrInput // The ID of the Storage Account associated with this Machine Learning Workspace. Changing this forces a new resource to be created. StorageAccountId pulumi.StringInput // A mapping of tags to assign to the resource. Changing this forces a new resource to be created. Tags pulumi.StringMapInput }
The set of arguments for constructing a Workspace resource.
func (WorkspaceArgs) ElementType ¶
func (WorkspaceArgs) ElementType() reflect.Type
type WorkspaceArray ¶
type WorkspaceArray []WorkspaceInput
func (WorkspaceArray) ElementType ¶
func (WorkspaceArray) ElementType() reflect.Type
func (WorkspaceArray) ToWorkspaceArrayOutput ¶
func (i WorkspaceArray) ToWorkspaceArrayOutput() WorkspaceArrayOutput
func (WorkspaceArray) ToWorkspaceArrayOutputWithContext ¶
func (i WorkspaceArray) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
type WorkspaceArrayInput ¶
type WorkspaceArrayInput interface { pulumi.Input ToWorkspaceArrayOutput() WorkspaceArrayOutput ToWorkspaceArrayOutputWithContext(context.Context) WorkspaceArrayOutput }
WorkspaceArrayInput is an input type that accepts WorkspaceArray and WorkspaceArrayOutput values. You can construct a concrete instance of `WorkspaceArrayInput` via:
WorkspaceArray{ WorkspaceArgs{...} }
type WorkspaceArrayOutput ¶
type WorkspaceArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceArrayOutput) ElementType ¶
func (WorkspaceArrayOutput) ElementType() reflect.Type
func (WorkspaceArrayOutput) Index ¶
func (o WorkspaceArrayOutput) Index(i pulumi.IntInput) WorkspaceOutput
func (WorkspaceArrayOutput) ToWorkspaceArrayOutput ¶
func (o WorkspaceArrayOutput) ToWorkspaceArrayOutput() WorkspaceArrayOutput
func (WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext ¶
func (o WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
type WorkspaceIdentity ¶
type WorkspaceIdentity struct { // The (Client) ID of the Service Principal. PrincipalId *string `pulumi:"principalId"` // The ID of the Tenant the Service Principal is assigned in. TenantId *string `pulumi:"tenantId"` // The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is `SystemAssigned`. Type string `pulumi:"type"` }
type WorkspaceIdentityArgs ¶
type WorkspaceIdentityArgs struct { // The (Client) ID of the Service Principal. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The ID of the Tenant the Service Principal is assigned in. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is `SystemAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (WorkspaceIdentityArgs) ElementType ¶
func (WorkspaceIdentityArgs) ElementType() reflect.Type
func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutput ¶
func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext ¶
func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
func (WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput ¶
func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
func (WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutputWithContext ¶
func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
type WorkspaceIdentityInput ¶
type WorkspaceIdentityInput interface { pulumi.Input ToWorkspaceIdentityOutput() WorkspaceIdentityOutput ToWorkspaceIdentityOutputWithContext(context.Context) WorkspaceIdentityOutput }
WorkspaceIdentityInput is an input type that accepts WorkspaceIdentityArgs and WorkspaceIdentityOutput values. You can construct a concrete instance of `WorkspaceIdentityInput` via:
WorkspaceIdentityArgs{...}
type WorkspaceIdentityOutput ¶
type WorkspaceIdentityOutput struct{ *pulumi.OutputState }
func (WorkspaceIdentityOutput) ElementType ¶
func (WorkspaceIdentityOutput) ElementType() reflect.Type
func (WorkspaceIdentityOutput) PrincipalId ¶
func (o WorkspaceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The (Client) ID of the Service Principal.
func (WorkspaceIdentityOutput) TenantId ¶
func (o WorkspaceIdentityOutput) TenantId() pulumi.StringPtrOutput
The ID of the Tenant the Service Principal is assigned in.
func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutput ¶
func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext ¶
func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
func (WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput ¶
func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
func (WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutputWithContext ¶
func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
func (WorkspaceIdentityOutput) Type ¶
func (o WorkspaceIdentityOutput) Type() pulumi.StringOutput
The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is `SystemAssigned`.
type WorkspaceIdentityPtrInput ¶
type WorkspaceIdentityPtrInput interface { pulumi.Input ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput ToWorkspaceIdentityPtrOutputWithContext(context.Context) WorkspaceIdentityPtrOutput }
WorkspaceIdentityPtrInput is an input type that accepts WorkspaceIdentityArgs, WorkspaceIdentityPtr and WorkspaceIdentityPtrOutput values. You can construct a concrete instance of `WorkspaceIdentityPtrInput` via:
WorkspaceIdentityArgs{...} or: nil
func WorkspaceIdentityPtr ¶
func WorkspaceIdentityPtr(v *WorkspaceIdentityArgs) WorkspaceIdentityPtrInput
type WorkspaceIdentityPtrOutput ¶
type WorkspaceIdentityPtrOutput struct{ *pulumi.OutputState }
func (WorkspaceIdentityPtrOutput) Elem ¶
func (o WorkspaceIdentityPtrOutput) Elem() WorkspaceIdentityOutput
func (WorkspaceIdentityPtrOutput) ElementType ¶
func (WorkspaceIdentityPtrOutput) ElementType() reflect.Type
func (WorkspaceIdentityPtrOutput) PrincipalId ¶
func (o WorkspaceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The (Client) ID of the Service Principal.
func (WorkspaceIdentityPtrOutput) TenantId ¶
func (o WorkspaceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The ID of the Tenant the Service Principal is assigned in.
func (WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput ¶
func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
func (WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutputWithContext ¶
func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput
func (WorkspaceIdentityPtrOutput) Type ¶
func (o WorkspaceIdentityPtrOutput) Type() pulumi.StringPtrOutput
The Type of Identity which should be used for this Disk Encryption Set. At this time the only possible value is `SystemAssigned`.
type WorkspaceInput ¶
type WorkspaceInput interface { pulumi.Input ToWorkspaceOutput() WorkspaceOutput ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput }
type WorkspaceMap ¶
type WorkspaceMap map[string]WorkspaceInput
func (WorkspaceMap) ElementType ¶
func (WorkspaceMap) ElementType() reflect.Type
func (WorkspaceMap) ToWorkspaceMapOutput ¶
func (i WorkspaceMap) ToWorkspaceMapOutput() WorkspaceMapOutput
func (WorkspaceMap) ToWorkspaceMapOutputWithContext ¶
func (i WorkspaceMap) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput
type WorkspaceMapInput ¶
type WorkspaceMapInput interface { pulumi.Input ToWorkspaceMapOutput() WorkspaceMapOutput ToWorkspaceMapOutputWithContext(context.Context) WorkspaceMapOutput }
WorkspaceMapInput is an input type that accepts WorkspaceMap and WorkspaceMapOutput values. You can construct a concrete instance of `WorkspaceMapInput` via:
WorkspaceMap{ "key": WorkspaceArgs{...} }
type WorkspaceMapOutput ¶
type WorkspaceMapOutput struct{ *pulumi.OutputState }
func (WorkspaceMapOutput) ElementType ¶
func (WorkspaceMapOutput) ElementType() reflect.Type
func (WorkspaceMapOutput) MapIndex ¶
func (o WorkspaceMapOutput) MapIndex(k pulumi.StringInput) WorkspaceOutput
func (WorkspaceMapOutput) ToWorkspaceMapOutput ¶
func (o WorkspaceMapOutput) ToWorkspaceMapOutput() WorkspaceMapOutput
func (WorkspaceMapOutput) ToWorkspaceMapOutputWithContext ¶
func (o WorkspaceMapOutput) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput
type WorkspaceOutput ¶
type WorkspaceOutput struct {
*pulumi.OutputState
}
func (WorkspaceOutput) ElementType ¶
func (WorkspaceOutput) ElementType() reflect.Type
func (WorkspaceOutput) ToWorkspaceOutput ¶
func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput
func (WorkspaceOutput) ToWorkspaceOutputWithContext ¶
func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
func (WorkspaceOutput) ToWorkspacePtrOutput ¶
func (o WorkspaceOutput) ToWorkspacePtrOutput() WorkspacePtrOutput
func (WorkspaceOutput) ToWorkspacePtrOutputWithContext ¶
func (o WorkspaceOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
type WorkspacePtrInput ¶
type WorkspacePtrInput interface { pulumi.Input ToWorkspacePtrOutput() WorkspacePtrOutput ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput }
type WorkspacePtrOutput ¶
type WorkspacePtrOutput struct {
*pulumi.OutputState
}
func (WorkspacePtrOutput) ElementType ¶
func (WorkspacePtrOutput) ElementType() reflect.Type
func (WorkspacePtrOutput) ToWorkspacePtrOutput ¶
func (o WorkspacePtrOutput) ToWorkspacePtrOutput() WorkspacePtrOutput
func (WorkspacePtrOutput) ToWorkspacePtrOutputWithContext ¶
func (o WorkspacePtrOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
type WorkspaceState ¶
type WorkspaceState struct { // The ID of the Application Insights associated with this Machine Learning Workspace. Changing this forces a new resource to be created. ApplicationInsightsId pulumi.StringPtrInput // The ID of the container registry associated with this Machine Learning Workspace. Changing this forces a new resource to be created. ContainerRegistryId pulumi.StringPtrInput // The description of this Machine Learning Workspace. Description pulumi.StringPtrInput // Friendly name for this Machine Learning Workspace. FriendlyName pulumi.StringPtrInput // Flag to signal High Business Impact (HBI) data in the workspace and reduce diagnostic data collected by the service HighBusinessImpact pulumi.BoolPtrInput // An `identity` block defined below. Identity WorkspaceIdentityPtrInput // The ID of key vault associated with this Machine Learning Workspace. Changing this forces a new resource to be created. KeyVaultId pulumi.StringPtrInput // Specifies the supported Azure location where the Machine Learning Workspace should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Machine Learning Workspace. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the name of the Resource Group in which the Machine Learning Workspace should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // SKU/edition of the Machine Learning Workspace, possible values are `Basic`. Defaults to `Basic`. SkuName pulumi.StringPtrInput // The ID of the Storage Account associated with this Machine Learning Workspace. Changing this forces a new resource to be created. StorageAccountId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Changing this forces a new resource to be created. Tags pulumi.StringMapInput }
func (WorkspaceState) ElementType ¶
func (WorkspaceState) ElementType() reflect.Type