pspulumiyaml.azurenative.purview.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionPurviewGetPrivateEndpointConnection { param ( [parameter(mandatory=$False,HelpMessage='The resource group name.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of the private endpoint connection.)')] [string] $privateEndpointConnectionName, [parameter(mandatory=$False,HelpMessage='The name of the account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["privateEndpointConnectionName"] = $privateEndpointConnectionName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:purview:getPrivateEndpointConnection -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionPurviewListAccountKeys { param ( [parameter(mandatory=$False,HelpMessage='The resource group name.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:purview:listAccountKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionPurviewGetAccount { param ( [parameter(mandatory=$False,HelpMessage='The resource group name.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:purview:getAccount -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } class PrivateLinkServiceConnectionState { [string] $actionsRequired [string] $description [ArgumentCompletions('Unknown', 'Pending', 'Approved', 'Rejected', 'Disconnected')] [string] $status } function New-AzureNativeTypePurviewPrivateLinkServiceConnectionState { param ( [parameter(mandatory=$False,HelpMessage='The required actions.)')] [string] $actionsRequired, [parameter(mandatory=$False,HelpMessage='The description.)')] [string] $description, [parameter(mandatory=$False,HelpMessage='The status.)')] [string] [ValidateSet('Unknown', 'Pending', 'Approved', 'Rejected', 'Disconnected')] $status ) process { return $([PrivateLinkServiceConnectionState]$PSBoundParameters) } } class PrivateEndpoint { [string] $id } function New-AzureNativeTypePurviewPrivateEndpoint { param ( [parameter(mandatory=$False,HelpMessage='The private endpoint identifier.)')] [string] $id ) process { return $([PrivateEndpoint]$PSBoundParameters) } } function New-AzureNativePurviewPrivateEndpointConnection { [Alias('azure_native_purview_privateendpointconnection')] param ( [parameter(mandatory=$False,HelpMessage='The resource group name.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The private link service connection state.)')] [PrivateLinkServiceConnectionState] $privateLinkServiceConnectionState, [parameter(mandatory=$False,HelpMessage='The private endpoint information.)')] [PrivateEndpoint] $privateEndpoint, [parameter(mandatory=$False,HelpMessage='Name of the private endpoint connection.)')] [string] $privateEndpointConnectionName, [parameter(mandatory=$False,HelpMessage='The name of the account.)')] [string] $accountName, [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:purview:PrivateEndpointConnection") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["accountName"] = $accountName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'privateLinkServiceConnectionState') { $resource.properties["privateLinkServiceConnectionState"] = $privateLinkServiceConnectionState } if($PSBoundParameters.Keys -icontains 'privateEndpoint') { $resource.properties["privateEndpoint"] = $privateEndpoint } if($PSBoundParameters.Keys -icontains 'privateEndpointConnectionName') { $resource.properties["privateEndpointConnectionName"] = $privateEndpointConnectionName } $global:pulumiresources += $resource return $resource } } class Identity { [ArgumentCompletions('SystemAssigned')] [string] $type } function New-AzureNativeTypePurviewIdentity { param ( [parameter(mandatory=$False,HelpMessage='Identity Type)')] [string] [ValidateSet('SystemAssigned')] $type ) process { return $([Identity]$PSBoundParameters) } } function New-AzureNativePurviewAccount { [Alias('azure_native_purview_account')] param ( [parameter(mandatory=$False,HelpMessage='Gets or sets the managed resource group name)')] [string] $managedResourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the account.)')] [string] $accountName, [parameter(mandatory=$False,HelpMessage='Identity Info on the tracked resource)')] [Identity] $identity, [parameter(mandatory=$False,HelpMessage='Tags on the azure resource.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The resource group name.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Gets or sets the public network access.)')] [string] [ValidateSet('NotSpecified', 'Enabled', 'Disabled')] $publicNetworkAccess, [parameter(mandatory=$False,HelpMessage='Gets or sets the location.)')] [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:purview:Account") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'managedResourceGroupName') { $resource.properties["managedResourceGroupName"] = $managedResourceGroupName } if($PSBoundParameters.Keys -icontains 'accountName') { $resource.properties["accountName"] = $accountName } if($PSBoundParameters.Keys -icontains 'identity') { $resource.properties["identity"] = $identity } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'publicNetworkAccess') { $resource.properties["publicNetworkAccess"] = $publicNetworkAccess } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } |