pspulumiyaml.azurenative.maintenance.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionMaintenanceGetMaintenanceConfiguration { param ( [parameter(mandatory=$False,HelpMessage='Resource Group Name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Resource Identifier)')] [string] $resourceName ) process { $arguments = @{} $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName $functionObject = Invoke-PulumiFunction -Name azure-native:maintenance:getMaintenanceConfiguration -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionMaintenanceGetConfigurationAssignmentParent { param ( [parameter(mandatory=$False,HelpMessage='Resource provider name)')] [string] $providerName, [parameter(mandatory=$False,HelpMessage='Resource identifier)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='Configuration assignment name)')] [string] $configurationAssignmentName, [parameter(mandatory=$False,HelpMessage='Resource group name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Resource type)')] [string] $resourceType, [parameter(mandatory=$False,HelpMessage='Resource parent identifier)')] [string] $resourceParentName, [parameter(mandatory=$False,HelpMessage='Resource parent type)')] [string] $resourceParentType ) process { $arguments = @{} $arguments["configurationAssignmentName"] = $configurationAssignmentName $arguments["providerName"] = $providerName $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName $arguments["resourceParentName"] = $resourceParentName $arguments["resourceParentType"] = $resourceParentType $arguments["resourceType"] = $resourceType $functionObject = Invoke-PulumiFunction -Name azure-native:maintenance:getConfigurationAssignmentParent -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionMaintenanceGetConfigurationAssignment { param ( [parameter(mandatory=$False,HelpMessage='Resource type)')] [string] $resourceType, [parameter(mandatory=$False,HelpMessage='Resource group name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Resource provider name)')] [string] $providerName, [parameter(mandatory=$False,HelpMessage='Resource identifier)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='Configuration assignment name)')] [string] $configurationAssignmentName ) process { $arguments = @{} $arguments["configurationAssignmentName"] = $configurationAssignmentName $arguments["providerName"] = $providerName $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName $arguments["resourceType"] = $resourceType $functionObject = Invoke-PulumiFunction -Name azure-native:maintenance:getConfigurationAssignment -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeMaintenanceConfigurationAssignmentParent { [Alias('azure_native_maintenance_configurationassignmentparent')] param ( [parameter(mandatory=$False,HelpMessage='Resource group name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Resource identifier)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='Resource provider name)')] [string] $providerName, [parameter(mandatory=$False,HelpMessage='The unique resourceId)')] [string] $resourceId, [parameter(mandatory=$False,HelpMessage='Resource type)')] [string] $resourceType, [parameter(mandatory=$False,HelpMessage='Resource parent identifier)')] [string] $resourceParentName, [parameter(mandatory=$False,HelpMessage='The maintenance configuration Id)')] [string] $maintenanceConfigurationId, [parameter(mandatory=$False,HelpMessage='Resource parent type)')] [string] $resourceParentType, [parameter(mandatory=$False,HelpMessage='Configuration assignment name)')] [string] $configurationAssignmentName, [parameter(mandatory=$False,HelpMessage='Location of the resource)')] [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:maintenance:ConfigurationAssignmentParent") $resource.properties["providerName"] = $providerName $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["resourceName"] = $resourceName $resource.properties["resourceParentName"] = $resourceParentName $resource.properties["resourceParentType"] = $resourceParentType $resource.properties["resourceType"] = $resourceType if($PSBoundParameters.Keys -icontains 'resourceId') { $resource.properties["resourceId"] = $resourceId } if($PSBoundParameters.Keys -icontains 'maintenanceConfigurationId') { $resource.properties["maintenanceConfigurationId"] = $maintenanceConfigurationId } if($PSBoundParameters.Keys -icontains 'configurationAssignmentName') { $resource.properties["configurationAssignmentName"] = $configurationAssignmentName } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } function New-AzureNativeMaintenanceMaintenanceConfiguration { [Alias('azure_native_maintenance_maintenanceconfiguration')] param ( [parameter(mandatory=$False,HelpMessage='Gets or sets tags of the resource)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Resource Identifier)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='Resource Group Name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql)')] [string] $namespace, [parameter(mandatory=$False,HelpMessage='Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.)')] [hashtable] $extensionProperties, [parameter(mandatory=$False,HelpMessage='Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance)')] [string] [ValidateSet('All', 'Host', 'Resource', 'InResource')] $maintenanceScope, [parameter(mandatory=$False,HelpMessage='Gets or sets location of the resource)')] [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:maintenance:MaintenanceConfiguration") $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'resourceName') { $resource.properties["resourceName"] = $resourceName } if($PSBoundParameters.Keys -icontains 'namespace') { $resource.properties["namespace"] = $namespace } if($PSBoundParameters.Keys -icontains 'extensionProperties') { $resource.properties["extensionProperties"] = $extensionProperties } if($PSBoundParameters.Keys -icontains 'maintenanceScope') { $resource.properties["maintenanceScope"] = $maintenanceScope } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } function New-AzureNativeMaintenanceConfigurationAssignment { [Alias('azure_native_maintenance_configurationassignment')] param ( [parameter(mandatory=$False,HelpMessage='The unique resourceId)')] [string] $resourceId, [parameter(mandatory=$False,HelpMessage='Configuration assignment name)')] [string] $configurationAssignmentName, [parameter(mandatory=$False,HelpMessage='Resource type)')] [string] $resourceType, [parameter(mandatory=$False,HelpMessage='Location of the resource)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The maintenance configuration Id)')] [string] $maintenanceConfigurationId, [parameter(mandatory=$False,HelpMessage='Resource group name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Resource provider name)')] [string] $providerName, [parameter(mandatory=$False,HelpMessage='Resource identifier)')] [string] $resourceName, [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:maintenance:ConfigurationAssignment") $resource.properties["providerName"] = $providerName $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["resourceName"] = $resourceName $resource.properties["resourceType"] = $resourceType if($PSBoundParameters.Keys -icontains 'resourceId') { $resource.properties["resourceId"] = $resourceId } if($PSBoundParameters.Keys -icontains 'configurationAssignmentName') { $resource.properties["configurationAssignmentName"] = $configurationAssignmentName } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'maintenanceConfigurationId') { $resource.properties["maintenanceConfigurationId"] = $maintenanceConfigurationId } $global:pulumiresources += $resource return $resource } } |