pspulumiyaml.azurenative.portal.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionPortalGetConsole { param ( [parameter(mandatory=$False,HelpMessage='The name of the console)')] [string] $consoleName ) process { $arguments = @{} $arguments["consoleName"] = $consoleName $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getConsole -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionPortalGetConsoleWithLocation { param ( [parameter(mandatory=$False,HelpMessage='The provider location)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The name of the console)')] [string] $consoleName ) process { $arguments = @{} $arguments["consoleName"] = $consoleName $arguments["location"] = $location $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getConsoleWithLocation -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionPortalGetDashboard { param ( [parameter(mandatory=$False,HelpMessage='The name of the dashboard.)')] [string] $dashboardName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["dashboardName"] = $dashboardName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getDashboard -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionPortalGetUserSettings { param ( [parameter(mandatory=$False,HelpMessage='The name of the user settings)')] [string] $userSettingsName ) process { $arguments = @{} $arguments["userSettingsName"] = $userSettingsName $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getUserSettings -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionPortalGetUserSettingsWithLocation { param ( [parameter(mandatory=$False,HelpMessage='The name of the user settings)')] [string] $userSettingsName, [parameter(mandatory=$False,HelpMessage='The provider location)')] [string] $location ) process { $arguments = @{} $arguments["location"] = $location $arguments["userSettingsName"] = $userSettingsName $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getUserSettingsWithLocation -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionPortalListListTenantConfigurationViolation { param ( ) process { $arguments = @{} $functionObject = Invoke-PulumiFunction -Name azure-native:portal:listListTenantConfigurationViolation -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionPortalGetTenantConfiguration { param ( [parameter(mandatory=$False,HelpMessage='The configuration name. Value must be ''default'')')] [string] $configurationName ) process { $arguments = @{} $arguments["configurationName"] = $configurationName $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getTenantConfiguration -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativePortalDashboard { [Alias('azure_native_portal_dashboard')] param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The dashboard lenses.)')] $lenses, [parameter(mandatory=$False,HelpMessage='The name of the dashboard.)')] [string] $dashboardName, [parameter(mandatory=$False,HelpMessage='Resource tags)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The dashboard metadata.)')] [object] $metadata, [parameter(mandatory=$False,HelpMessage='Resource location)')] [string] $location, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:portal:Dashboard") $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'lenses') { $resource.properties["lenses"] = $lenses } if($PSBoundParameters.Keys -icontains 'dashboardName') { $resource.properties["dashboardName"] = $dashboardName } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'metadata') { $resource.properties["metadata"] = $metadata } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } class TerminalSettings { [ValidateSet('NotSpecified', 'Monospace', 'Courier')] [string] $fontStyle [ValidateSet('NotSpecified', 'Small', 'Medium', 'Large')] [string] $fontSize } function New-AzureNativeTypePortalTerminalSettings { param ( [parameter(mandatory=$False,HelpMessage='Style of terminal font.)')] [string] [ValidateSet('NotSpecified', 'Monospace', 'Courier')] $fontStyle, [parameter(mandatory=$False,HelpMessage='Size of terminal font.)')] [string] [ValidateSet('NotSpecified', 'Small', 'Medium', 'Large')] $fontSize ) process { return $([TerminalSettings]$PSBoundParameters) } } class StorageProfile { [ValidateSet('Windows', 'Linux')] [int] $diskSizeInGB [ValidateSet('Windows', 'Linux')] [string] $fileShareName [ValidateSet('Windows', 'Linux')] [string] $storageAccountResourceId } function New-AzureNativeTypePortalStorageProfile { param ( [parameter(mandatory=$False,HelpMessage='Size of file share)')] [int] $diskSizeInGB, [parameter(mandatory=$False,HelpMessage='Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -)')] [string] $fileShareName, [parameter(mandatory=$False,HelpMessage='Full resource ID of storage account.)')] [string] $storageAccountResourceId ) process { return $([StorageProfile]$PSBoundParameters) } } class UserProperties { [ValidateSet('bash', 'pwsh', 'powershell')] [string] $preferredShellType [ValidateSet('Windows', 'Linux')] [string] $preferredOsType [ValidateSet('Windows', 'Linux')] [string] $preferredLocation [ValidateSet('Windows', 'Linux')] [TerminalSettings] $terminalSettings [ValidateSet('Windows', 'Linux')] [StorageProfile] $storageProfile } function New-AzureNativeTypePortalUserProperties { param ( [parameter(mandatory=$False,HelpMessage='The shell type of the cloud shell.)')] [string] [ValidateSet('bash', 'pwsh', 'powershell')] $preferredShellType, [parameter(mandatory=$False,HelpMessage='The operating system type of the cloud shell. Deprecated, use preferredShellType.)')] [string] [ValidateSet('Windows', 'Linux')] $preferredOsType, [parameter(mandatory=$False,HelpMessage='The preferred location of the cloud shell.)')] [string] $preferredLocation, [parameter(mandatory=$False,HelpMessage='Settings for terminal appearance.)')] [TerminalSettings] $terminalSettings, [parameter(mandatory=$False,HelpMessage='The storage profile of the user settings.)')] [StorageProfile] $storageProfile ) process { return $([UserProperties]$PSBoundParameters) } } function New-AzureNativePortalUserSettings { [Alias('azure_native_portal_usersettings')] param ( [parameter(mandatory=$False,HelpMessage='The name of the user settings)')] [string] $userSettingsName, [parameter(mandatory=$False,HelpMessage='The cloud shell user settings properties.)')] [UserProperties] $properties, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:portal:UserSettings") $resource.properties["properties"] = $properties if($PSBoundParameters.Keys -icontains 'userSettingsName') { $resource.properties["userSettingsName"] = $userSettingsName } $global:pulumiresources += $resource return $resource } } function New-AzureNativePortalTenantConfiguration { [Alias('azure_native_portal_tenantconfiguration')] param ( [parameter(mandatory=$False,HelpMessage='The configuration name. Value must be ''default'')')] [string] $configurationName, [parameter(mandatory=$False,HelpMessage='When flag is set to true Markdown tile will require external storage configuration (URI). The inline content configuration will be prohibited.)')] [bool] $enforcePrivateMarkdownStorage, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:portal:TenantConfiguration") if($PSBoundParameters.Keys -icontains 'configurationName') { $resource.properties["configurationName"] = $configurationName } if($PSBoundParameters.Keys -icontains 'enforcePrivateMarkdownStorage') { $resource.properties["enforcePrivateMarkdownStorage"] = $enforcePrivateMarkdownStorage } $global:pulumiresources += $resource return $resource } } class ConsoleCreateProperties { [ValidateSet('Windows', 'Linux')] [string] $osType [ValidateSet('Windows', 'Linux')] [string] $uri [ValidateSet('NotSpecified', 'Accepted', 'Pending', 'Updating', 'Creating', 'Repairing', 'Failed', 'Canceled', 'Succeeded')] [string] $provisioningState } function New-AzureNativeTypePortalConsoleCreateProperties { param ( [parameter(mandatory=$False,HelpMessage='The operating system type of the cloud shell.)')] [string] [ValidateSet('Windows', 'Linux')] $osType, [parameter(mandatory=$False,HelpMessage='Uri of the console.)')] [string] $uri, [parameter(mandatory=$False,HelpMessage='Provisioning state of the console.)')] [string] [ValidateSet('NotSpecified', 'Accepted', 'Pending', 'Updating', 'Creating', 'Repairing', 'Failed', 'Canceled', 'Succeeded')] $provisioningState ) process { return $([ConsoleCreateProperties]$PSBoundParameters) } } function New-AzureNativePortalConsole { [Alias('azure_native_portal_console')] param ( [parameter(mandatory=$False,HelpMessage='Cloud shell properties for creating a console.)')] [ConsoleCreateProperties] $properties, [parameter(mandatory=$False,HelpMessage='The name of the console)')] [string] $consoleName, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:portal:Console") $resource.properties["properties"] = $properties if($PSBoundParameters.Keys -icontains 'consoleName') { $resource.properties["consoleName"] = $consoleName } $global:pulumiresources += $resource return $resource } } function New-AzureNativePortalUserSettingsWithLocation { [Alias('azure_native_portal_usersettingswithlocation')] param ( [parameter(mandatory=$False,HelpMessage='The cloud shell user settings properties.)')] [UserProperties] $properties, [parameter(mandatory=$False,HelpMessage='The provider location)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The name of the user settings)')] [string] $userSettingsName, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:portal:UserSettingsWithLocation") $resource.properties["location"] = $location $resource.properties["properties"] = $properties if($PSBoundParameters.Keys -icontains 'userSettingsName') { $resource.properties["userSettingsName"] = $userSettingsName } $global:pulumiresources += $resource return $resource } } function New-AzureNativePortalConsoleWithLocation { [Alias('azure_native_portal_consolewithlocation')] param ( [parameter(mandatory=$False,HelpMessage='The provider location)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The name of the console)')] [string] $consoleName, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:portal:ConsoleWithLocation") $resource.properties["location"] = $location if($PSBoundParameters.Keys -icontains 'consoleName') { $resource.properties["consoleName"] = $consoleName } $global:pulumiresources += $resource return $resource } } |