pspulumiyaml.azurenative.machinelearningexperimentation.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionMachinelearningexperimentationGetWorkspace { param ( [parameter(mandatory=$False,HelpMessage='The name of the machine learning team account workspace.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='The name of the resource group to which the machine learning team account belongs.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the machine learning team account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["resourceGroupName"] = $resourceGroupName $arguments["workspaceName"] = $workspaceName $functionObject = Invoke-PulumiFunction -Name azure-native:machinelearningexperimentation:getWorkspace -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionMachinelearningexperimentationGetAccount { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group to which the machine learning team account belongs.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the machine learning team account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:machinelearningexperimentation:getAccount -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionMachinelearningexperimentationGetProject { param ( [parameter(mandatory=$False,HelpMessage='The name of the machine learning team account workspace.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='The name of the resource group to which the machine learning team account belongs.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the machine learning project under a team account workspace.)')] [string] $projectName, [parameter(mandatory=$False,HelpMessage='The name of the machine learning team account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["projectName"] = $projectName $arguments["resourceGroupName"] = $resourceGroupName $arguments["workspaceName"] = $workspaceName $functionObject = Invoke-PulumiFunction -Name azure-native:machinelearningexperimentation:getProject -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeMachinelearningexperimentationProject { [Alias('azure_native_machinelearningexperimentation_project')] param ( [parameter(mandatory=$False,HelpMessage='The reference to git repo for this project.)')] [string] $gitrepo, [parameter(mandatory=$False,HelpMessage='The name of the machine learning team account.)')] [string] $accountName, [parameter(mandatory=$False,HelpMessage='The friendly name for this project.)')] [string] $friendlyName, [parameter(mandatory=$False,HelpMessage='The tags of the resource.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The name of the machine learning project under a team account workspace.)')] [string] $projectName, [parameter(mandatory=$False,HelpMessage='The location of the resource. This cannot be changed after the resource is created.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The description of this project.)')] [string] $description, [parameter(mandatory=$False,HelpMessage='The name of the machine learning team account workspace.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='The name of the resource group to which the machine learning team account belongs.)')] [string] $resourceGroupName, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:machinelearningexperimentation:Project") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["accountName"] = $accountName $resource.properties["friendlyName"] = $friendlyName $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["workspaceName"] = $workspaceName if($PSBoundParameters.Keys -icontains 'gitrepo') { $resource.properties["gitrepo"] = $gitrepo } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'projectName') { $resource.properties["projectName"] = $projectName } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } $global:pulumiresources += $resource return $resource } } function New-AzureNativeMachinelearningexperimentationWorkspace { [Alias('azure_native_machinelearningexperimentation_workspace')] param ( [parameter(mandatory=$False,HelpMessage='The name of the machine learning team account.)')] [string] $accountName, [parameter(mandatory=$False,HelpMessage='The name of the machine learning team account workspace.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='The name of the resource group to which the machine learning team account belongs.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created)')] [string] $friendlyName, [parameter(mandatory=$False,HelpMessage='The tags of the resource.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The description of this workspace.)')] [string] $description, [parameter(mandatory=$False,HelpMessage='The location of the resource. This cannot be changed after the resource is created.)')] [string] $location, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:machinelearningexperimentation:Workspace") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["accountName"] = $accountName $resource.properties["friendlyName"] = $friendlyName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'workspaceName') { $resource.properties["workspaceName"] = $workspaceName } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } class StorageAccountProperties { [string] $storageAccountId [string] $accessKey } function New-AzureNativeTypeMachinelearningexperimentationStorageAccountProperties { param ( [parameter(mandatory=$False,HelpMessage='The fully qualified arm Id of the storage account.)')] [string] $storageAccountId, [parameter(mandatory=$False,HelpMessage='The access key to the storage account.)')] [string] $accessKey ) process { return $([StorageAccountProperties]$PSBoundParameters) } } function New-AzureNativeMachinelearningexperimentationAccount { [Alias('azure_native_machinelearningexperimentation_account')] param ( [parameter(mandatory=$False,HelpMessage='The fully qualified arm id of the vso account to be used for this team account.)')] [string] $vsoAccountId, [parameter(mandatory=$False,HelpMessage='The no of users/seats who can access this team account. This property defines the charge on the team account.)')] [string] $seats, [parameter(mandatory=$False,HelpMessage='The name of the machine learning team account.)')] [string] $accountName, [parameter(mandatory=$False,HelpMessage='The friendly name for this workspace. This will be the workspace name in the arm id when the workspace object gets created)')] [string] $friendlyName, [parameter(mandatory=$False,HelpMessage='The tags of the resource.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The properties of the storage account for the machine learning team account.)')] [StorageAccountProperties] $storageAccount, [parameter(mandatory=$False,HelpMessage='The location of the resource. This cannot be changed after the resource is created.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The fully qualified arm id of the user key vault.)')] [string] $keyVaultId, [parameter(mandatory=$False,HelpMessage='The description of this workspace.)')] [string] $description, [parameter(mandatory=$False,HelpMessage='The name of the resource group to which the machine learning team account belongs.)')] [string] $resourceGroupName, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:machinelearningexperimentation:Account") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["keyVaultId"] = $keyVaultId $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["storageAccount"] = $storageAccount $resource.properties["vsoAccountId"] = $vsoAccountId if($PSBoundParameters.Keys -icontains 'seats') { $resource.properties["seats"] = $seats } if($PSBoundParameters.Keys -icontains 'accountName') { $resource.properties["accountName"] = $accountName } if($PSBoundParameters.Keys -icontains 'friendlyName') { $resource.properties["friendlyName"] = $friendlyName } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } $global:pulumiresources += $resource return $resource } } |