pspulumiyaml.azurenative.hybriddata.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionHybriddataGetDataManager { param ( [parameter(mandatory=$False,HelpMessage='The Resource Group Name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only)')] [string] $dataManagerName ) process { $arguments = @{} $arguments["dataManagerName"] = $dataManagerName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:hybriddata:getDataManager -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionHybriddataGetJobDefinition { param ( [parameter(mandatory=$False,HelpMessage='The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only)')] [string] $dataManagerName, [parameter(mandatory=$False,HelpMessage='The data service name of the job definition)')] [string] $dataServiceName, [parameter(mandatory=$False,HelpMessage='The Resource Group Name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The job definition name that is being queried.)')] [string] $jobDefinitionName ) process { $arguments = @{} $arguments["dataManagerName"] = $dataManagerName $arguments["dataServiceName"] = $dataServiceName $arguments["jobDefinitionName"] = $jobDefinitionName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:hybriddata:getJobDefinition -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionHybriddataGetDataStore { param ( [parameter(mandatory=$False,HelpMessage='The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only)')] [string] $dataManagerName, [parameter(mandatory=$False,HelpMessage='The Resource Group Name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The data store/repository name queried.)')] [string] $dataStoreName ) process { $arguments = @{} $arguments["dataManagerName"] = $dataManagerName $arguments["dataStoreName"] = $dataStoreName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:hybriddata:getDataStore -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeHybriddataJobDefinition { [Alias('azure_native_hybriddata_jobdefinition')] param ( [parameter(mandatory=$False,HelpMessage='The data service type of the job definition.)')] [string] $dataServiceName, [parameter(mandatory=$False,HelpMessage='Data Source Id associated to the job definition.)')] [string] $dataSourceId, [parameter(mandatory=$False,HelpMessage='Enum to detect if user confirmation is required. If not passed will default to NotRequired.)')] $userConfirmation, [parameter(mandatory=$False,HelpMessage='Schedule for running the job definition)')] $schedules, [parameter(mandatory=$False,HelpMessage='The Resource Group Name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Last modified time of the job definition.)')] [string] $lastModifiedTime, [parameter(mandatory=$False,HelpMessage='This is the preferred geo location for the job to run.)')] $runLocation, [parameter(mandatory=$False,HelpMessage='A generic json used differently by each data service type.)')] $dataServiceInput, [parameter(mandatory=$False,HelpMessage='State of the job definition.)')] $state, [parameter(mandatory=$False,HelpMessage='List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.)')] $customerSecrets, [parameter(mandatory=$False,HelpMessage='The job definition name to be created or updated.)')] [string] $jobDefinitionName, [parameter(mandatory=$False,HelpMessage='The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only)')] [string] $dataManagerName, [parameter(mandatory=$False,HelpMessage='Data Sink Id associated to the job definition.)')] [string] $dataSinkId, [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:hybriddata:JobDefinition") $resource.properties["dataManagerName"] = $dataManagerName $resource.properties["dataServiceName"] = $dataServiceName $resource.properties["dataSinkId"] = $dataSinkId $resource.properties["dataSourceId"] = $dataSourceId $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["state"] = $state if($PSBoundParameters.Keys -icontains 'userConfirmation') { $resource.properties["userConfirmation"] = $userConfirmation } if($PSBoundParameters.Keys -icontains 'schedules') { $resource.properties["schedules"] = $schedules } if($PSBoundParameters.Keys -icontains 'lastModifiedTime') { $resource.properties["lastModifiedTime"] = $lastModifiedTime } if($PSBoundParameters.Keys -icontains 'runLocation') { $resource.properties["runLocation"] = $runLocation } if($PSBoundParameters.Keys -icontains 'dataServiceInput') { $resource.properties["dataServiceInput"] = $dataServiceInput } if($PSBoundParameters.Keys -icontains 'customerSecrets') { $resource.properties["customerSecrets"] = $customerSecrets } if($PSBoundParameters.Keys -icontains 'jobDefinitionName') { $resource.properties["jobDefinitionName"] = $jobDefinitionName } $global:pulumiresources += $resource return $resource } } function New-AzureNativeHybriddataDataStore { [Alias('azure_native_hybriddata_datastore')] param ( [parameter(mandatory=$False,HelpMessage='The arm id of the data store type.)')] [string] $dataStoreTypeId, [parameter(mandatory=$False,HelpMessage='The data store/repository name to be created or updated.)')] [string] $dataStoreName, [parameter(mandatory=$False,HelpMessage='A generic json used differently by each data source type.)')] $extendedProperties, [parameter(mandatory=$False,HelpMessage='The Resource Group Name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='State of the data source.)')] $state, [parameter(mandatory=$False,HelpMessage='List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.)')] $customerSecrets, [parameter(mandatory=$False,HelpMessage='Arm Id for the manager resource to which the data source is associated. This is optional.)')] [string] $repositoryId, [parameter(mandatory=$False,HelpMessage='The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only)')] [string] $dataManagerName, [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:hybriddata:DataStore") $resource.properties["dataManagerName"] = $dataManagerName $resource.properties["dataStoreTypeId"] = $dataStoreTypeId $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["state"] = $state if($PSBoundParameters.Keys -icontains 'dataStoreName') { $resource.properties["dataStoreName"] = $dataStoreName } if($PSBoundParameters.Keys -icontains 'extendedProperties') { $resource.properties["extendedProperties"] = $extendedProperties } if($PSBoundParameters.Keys -icontains 'customerSecrets') { $resource.properties["customerSecrets"] = $customerSecrets } if($PSBoundParameters.Keys -icontains 'repositoryId') { $resource.properties["repositoryId"] = $repositoryId } $global:pulumiresources += $resource return $resource } } class Sku { [string] $name [string] $tier } function New-AzureNativeTypeHybriddataSku { param ( [parameter(mandatory=$False,HelpMessage='The sku name. Required for data manager creation, optional for update.)')] [string] $name, [parameter(mandatory=$False,HelpMessage='The sku tier. This is based on the SKU name.)')] [string] $tier ) process { return $([Sku]$PSBoundParameters) } } function New-AzureNativeHybriddataDataManager { [Alias('azure_native_hybriddata_datamanager')] param ( [parameter(mandatory=$False,HelpMessage='The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only)')] [string] $dataManagerName, [parameter(mandatory=$False,HelpMessage='The Resource Group Name)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The sku type.)')] [Sku] $sku, [parameter(mandatory=$False,HelpMessage='The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed.)')] [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:hybriddata:DataManager") $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'dataManagerName') { $resource.properties["dataManagerName"] = $dataManagerName } if($PSBoundParameters.Keys -icontains 'sku') { $resource.properties["sku"] = $sku } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } |