pspulumiyaml.azurenative.dynamics365fraudprotection.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionDynamics365fraudprotectionGetInstanceDetails { param ( [parameter(mandatory=$False,HelpMessage='The name of the instance. It must be a minimum of 3 characters, and a maximum of 63.)')] [string] $instanceName, [parameter(mandatory=$False,HelpMessage='The name of the Azure Resource group of which a given DFP instance is part. This name must be at least 1 character in length, and no more than 90.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["instanceName"] = $instanceName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:dynamics365fraudprotection:getInstanceDetails -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } class DFPInstanceAdministrators { [string[]] $members } function New-AzureNativeTypeDynamics365fraudprotectionDFPInstanceAdministrators { param ( [parameter(mandatory=$False,HelpMessage='An array of administrator user identities.)')] [string[]] $members ) process { return $([DFPInstanceAdministrators]$PSBoundParameters) } } function New-AzureNativeDynamics365fraudprotectionInstanceDetails { [Alias('azure_native_dynamics365fraudprotection_instancedetails')] param ( [parameter(mandatory=$False,HelpMessage='The name of the Azure Resource group of which a given DFP instance is part. This name must be at least 1 character in length, and no more than 90.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='A collection of DFP instance administrators)')] [DFPInstanceAdministrators] $administration, [parameter(mandatory=$False,HelpMessage='Key-value pairs of additional resource provisioning properties.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Location of the DFP resource.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The name of the DFP instances. It must be a minimum of 3 characters, and a maximum of 63.)')] [string] $instanceName, [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:dynamics365fraudprotection:InstanceDetails") $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'administration') { $resource.properties["administration"] = $administration } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'instanceName') { $resource.properties["instanceName"] = $instanceName } $global:pulumiresources += $resource return $resource } } |