pspulumiyaml.azurenative.healthcareapis.psm1
using module @{ ModuleName = "PSPulumiYaml"; ModuleVersion = "0.0.3"; GUID = "909344e0-a08f-45f6-8177-80e36bb2ba58" } function Invoke-AzureNativeFunctionHealthcareapisGetWorkspace { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName ) process { $arguments = @{} $arguments["resourceGroupName"] = $resourceGroupName $arguments["workspaceName"] = $workspaceName $functionObject = Invoke-PulumiFunction -Name azure-native:healthcareapis:getWorkspace -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionHealthcareapisGetService { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the service instance.)')] [string] $resourceName ) process { $arguments = @{} $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName $functionObject = Invoke-PulumiFunction -Name azure-native:healthcareapis:getService -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionHealthcareapisGetIotConnectorFhirDestination { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of IoT Connector FHIR destination resource.)')] [string] $fhirDestinationName, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='The name of IoT Connector resource.)')] [string] $iotConnectorName ) process { $arguments = @{} $arguments["fhirDestinationName"] = $fhirDestinationName $arguments["iotConnectorName"] = $iotConnectorName $arguments["resourceGroupName"] = $resourceGroupName $arguments["workspaceName"] = $workspaceName $functionObject = Invoke-PulumiFunction -Name azure-native:healthcareapis:getIotConnectorFhirDestination -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionHealthcareapisGetPrivateEndpointConnection { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the private endpoint connection associated with the Azure resource)')] [string] $privateEndpointConnectionName, [parameter(mandatory=$False,HelpMessage='The name of the service instance.)')] [string] $resourceName ) process { $arguments = @{} $arguments["privateEndpointConnectionName"] = $privateEndpointConnectionName $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName $functionObject = Invoke-PulumiFunction -Name azure-native:healthcareapis:getPrivateEndpointConnection -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionHealthcareapisGetIotConnector { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of IoT Connector resource.)')] [string] $iotConnectorName, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName ) process { $arguments = @{} $arguments["iotConnectorName"] = $iotConnectorName $arguments["resourceGroupName"] = $resourceGroupName $arguments["workspaceName"] = $workspaceName $functionObject = Invoke-PulumiFunction -Name azure-native:healthcareapis:getIotConnector -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionHealthcareapisGetDicomService { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of DICOM Service resource.)')] [string] $dicomServiceName, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName ) process { $arguments = @{} $arguments["dicomServiceName"] = $dicomServiceName $arguments["resourceGroupName"] = $resourceGroupName $arguments["workspaceName"] = $workspaceName $functionObject = Invoke-PulumiFunction -Name azure-native:healthcareapis:getDicomService -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionHealthcareapisGetWorkspacePrivateEndpointConnection { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='The name of the private endpoint connection associated with the Azure resource)')] [string] $privateEndpointConnectionName ) process { $arguments = @{} $arguments["privateEndpointConnectionName"] = $privateEndpointConnectionName $arguments["resourceGroupName"] = $resourceGroupName $arguments["workspaceName"] = $workspaceName $functionObject = Invoke-PulumiFunction -Name azure-native:healthcareapis:getWorkspacePrivateEndpointConnection -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionHealthcareapisGetFhirService { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of FHIR Service resource.)')] [string] $fhirServiceName, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName ) process { $arguments = @{} $arguments["fhirServiceName"] = $fhirServiceName $arguments["resourceGroupName"] = $resourceGroupName $arguments["workspaceName"] = $workspaceName $functionObject = Invoke-PulumiFunction -Name azure-native:healthcareapis:getFhirService -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } class IotMappingProperties { [object] $content } function New-AzureNativeTypeHealthcareapisIotMappingProperties { param ( [parameter(mandatory=$False,HelpMessage='The mapping.)')] $content ) process { return $([IotMappingProperties]$PSBoundParameters) } } function New-AzureNativeHealthcareapisIotConnectorFhirDestination { [Alias('azure_native_healthcareapis_iotconnectorfhirdestination')] param ( [parameter(mandatory=$False,HelpMessage='The name of IoT Connector FHIR destination resource.)')] [string] $fhirDestinationName, [parameter(mandatory=$False,HelpMessage='FHIR Mappings)')] [IotMappingProperties] $fhirMapping, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='The resource location.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='Fully qualified resource id of the FHIR service to connect to.)')] [string] $fhirServiceResourceId, [parameter(mandatory=$False,HelpMessage='The name of IoT Connector resource.)')] [string] $iotConnectorName, [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Determines how resource identity is resolved on the destination.)')] [string] [ArgumentCompletions('Create', 'Lookup')] $resourceIdentityResolutionType, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(HelpMessage='Specifies a list of named output properties that should be treated as secrets, which means they will be encrypted. It augments the list of values that Pulumi detects, based on secret inputs to the resource.')] [string[]] $PulumiSecretOutputs, [parameter(HelpMessage='The aliases parameter provides a list of aliases for a resource or component resource. If youre changing the name, type, or parent path of a resource or component resource, you can add the old name to the list of aliases for a resource to ensure that existing resources will be migrated to the new name instead of being deleted and replaced with the new named resource.')] [string[]] $PulumiAliases, [parameter(HelpMessage='The customTimeouts parameter provides a set of custom timeouts for create, update, and delete operations on a resource. These timeouts are specified using a duration string such as 5m (5 minutes), 40s (40 seconds), or 1d (1 day). Supported duration units are ns, us (or µs), ms, s, m, and h (nanoseconds, microseconds, milliseconds, seconds, minutes, and hours, respectively).')] [pulumicustomtimeouts] $PulumiCustomTimeouts, [parameter(HelpMessage='Setting the PulumiDeleteBeforeReplace parameter to true means that Pulumi will delete the existing resource before creating its replacement. Be aware that this behavior has a cascading impact on dependencies so more resources may be replaced, which can lead to downtime. However, this option may be necessary for some resources that manage scarce resources behind the scenes, and/or resources that cannot exist side-by-side.')] [bool] $PulumiDeleteBeforeReplace, [parameter(HelpMessage='Creates a list of explicit dependencies between resources.The DependsOn parameter ensures that resource creation, update, and deletion operations are done in the correct order.')] [object[]] $PulumiDependsOn, [parameter(HelpMessage='Specifies a list of properties that Pulumi will ignore when it updates existing resources. Any properties specified in this list that are also specified in the resources arguments will only be used when creating the resource.')] [string[]] $PulumiIgnoreChanges, [parameter(HelpMessage='Imports an existing cloud resource so that Pulumi can manage it. To import a resource, first specify the PulumiImport parameter with the resources ID')] [string] $PulumiImport = [NullString]::Value, [parameter(HelpMessage='Specifies a parent for a resource. It is used to associate children with the parents that encapsulate or are responsible for them.')] [object] $PulumiParent = [NullString]::Value, [parameter(HelpMessage='Marks a resource as protected. A protected resource cannot be deleted directly, and it will be an error to do a Pulumi deployment which tries to delete a protected resource for any reason.')] [bool] $PulumiProtect, [parameter(HelpMessage='Sets a provider for the resource. The default is to inherit this value from the parent resource, and to use the ambient provider specified by Pulumi configuration for resources without a parent.')] [object] $PulumiProvider = [NullString]::Value, [parameter(HelpMessage='Sets a list of providers for the resource and its children. This list is combined with resource parents providers lists. If no value is provided, the providers list is identical to the parent. When determining which provider to use for a resource, the providers list is used if provider is not supplied.')] [object[]] $PulumiProviders, [parameter(HelpMessage='Used to indicate that changes to certain properties on a resource should force a replacement of the resource instead of an in-place update. Typically users rely on the resource provider to make this decision based on whether the input property is one that the provider knows how to update in place, or if not, requires a replacement to modify. However, there are cases where users want to replace a resource on a change to an input property even if the resource provider itself doesnt believe it has to replace the resource.')] [string[]] $PulumiReplaceOnChanges, [parameter(HelpMessage='Marks a resource to be retained. If this option is set then Pulumi will not call through to the resource providers Delete method when deleting or replacing the resource during pulumi up or pulumi destroy. As a result, the resource will not be deleted from the backing cloud provider, but will be removed from the Pulumi state.')] [bool] $PulumiRetainOnDelete, [parameter(HelpMessage='Specifies a provider version to use when operating on a resource. This version overrides the version information inferred from the current package. This option should be used rarely.')] [string] $PulumiProviderVersion = [NullString]::Value ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:healthcareapis:IotConnectorFhirDestination") $resource.options.additionalSecretOutputs = $PulumiSecretOutputs $resource.options.aliases = $PulumiAliases $resource.options.customTimeouts = $PulumiCustomTimeouts $resource.options.deleteBeforeReplace = $PulumiDeleteBeforeReplace $resource.options.ignoreChanges = $PulumiIgnoreChanges $resource.options.import = if([string]::IsNullOrEmpty($PulumiImport)) { [NullString]::Value } else { $PulumiImport } $resource.options.protect = $PulumiProtect $resource.options.replaceOnChanges = $PulumiReplaceOnChanges $resource.options.retainOnDelete = $PulumiRetainOnDelete $resource.options.version = if([string]::IsNullOrEmpty($PulumiProviderVersion)) { [NullString]::Value } else { $PulumiProviderVersion } foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.options.dependson += $Dependency.Reference() } else { $resource.options.dependson += $Dependency } } if($PulumiParent -is [pulumiresource]) { $resource.options.parent = $PulumiParent.Reference() } else { $resource.options.parent = $PulumiParent } foreach($provider in $PulumiProviders) { if($provider -is [pulumiprovider]) { $resource.options.providers += $provider.Reference() } else { $resource.options.providers += $provider } } if($PulumiProvider -is [pulumiprovider]) { $resource.options.provider = $PulumiProvider.Reference() } else { $resource.options.provider = $PulumiProvider } $resource.properties["fhirMapping"] = $fhirMapping $resource.properties["fhirServiceResourceId"] = $fhirServiceResourceId $resource.properties["iotConnectorName"] = $iotConnectorName $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["resourceIdentityResolutionType"] = $resourceIdentityResolutionType $resource.properties["workspaceName"] = $workspaceName if($PSBoundParameters.Keys -icontains 'fhirDestinationName') { $resource.properties["fhirDestinationName"] = $fhirDestinationName } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } class PrivateLinkServiceConnectionState { [string] $description [ArgumentCompletions('Pending', 'Approved', 'Rejected')] [string] $status [string] $actionsRequired } function New-AzureNativeTypeHealthcareapisPrivateLinkServiceConnectionState { param ( [parameter(mandatory=$False,HelpMessage='The reason for approval/rejection of the connection.)')] [string] $description, [parameter(mandatory=$False,HelpMessage='Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.)')] [string] [ArgumentCompletions('Pending', 'Approved', 'Rejected')] $status, [parameter(mandatory=$False,HelpMessage='A message indicating if changes on the service provider require any updates on the consumer.)')] [string] $actionsRequired ) process { return $([PrivateLinkServiceConnectionState]$PSBoundParameters) } } function New-AzureNativeHealthcareapisPrivateEndpointConnection { [Alias('azure_native_healthcareapis_privateendpointconnection')] param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the service instance.)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='The name of the private endpoint connection associated with the Azure resource)')] [string] $privateEndpointConnectionName, [parameter(mandatory=$False,HelpMessage='A collection of information about the state of the connection between service consumer and provider.)')] [PrivateLinkServiceConnectionState] $privateLinkServiceConnectionState, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(HelpMessage='Specifies a list of named output properties that should be treated as secrets, which means they will be encrypted. It augments the list of values that Pulumi detects, based on secret inputs to the resource.')] [string[]] $PulumiSecretOutputs, [parameter(HelpMessage='The aliases parameter provides a list of aliases for a resource or component resource. If youre changing the name, type, or parent path of a resource or component resource, you can add the old name to the list of aliases for a resource to ensure that existing resources will be migrated to the new name instead of being deleted and replaced with the new named resource.')] [string[]] $PulumiAliases, [parameter(HelpMessage='The customTimeouts parameter provides a set of custom timeouts for create, update, and delete operations on a resource. These timeouts are specified using a duration string such as 5m (5 minutes), 40s (40 seconds), or 1d (1 day). Supported duration units are ns, us (or µs), ms, s, m, and h (nanoseconds, microseconds, milliseconds, seconds, minutes, and hours, respectively).')] [pulumicustomtimeouts] $PulumiCustomTimeouts, [parameter(HelpMessage='Setting the PulumiDeleteBeforeReplace parameter to true means that Pulumi will delete the existing resource before creating its replacement. Be aware that this behavior has a cascading impact on dependencies so more resources may be replaced, which can lead to downtime. However, this option may be necessary for some resources that manage scarce resources behind the scenes, and/or resources that cannot exist side-by-side.')] [bool] $PulumiDeleteBeforeReplace, [parameter(HelpMessage='Creates a list of explicit dependencies between resources.The DependsOn parameter ensures that resource creation, update, and deletion operations are done in the correct order.')] [object[]] $PulumiDependsOn, [parameter(HelpMessage='Specifies a list of properties that Pulumi will ignore when it updates existing resources. Any properties specified in this list that are also specified in the resources arguments will only be used when creating the resource.')] [string[]] $PulumiIgnoreChanges, [parameter(HelpMessage='Imports an existing cloud resource so that Pulumi can manage it. To import a resource, first specify the PulumiImport parameter with the resources ID')] [string] $PulumiImport = [NullString]::Value, [parameter(HelpMessage='Specifies a parent for a resource. It is used to associate children with the parents that encapsulate or are responsible for them.')] [object] $PulumiParent = [NullString]::Value, [parameter(HelpMessage='Marks a resource as protected. A protected resource cannot be deleted directly, and it will be an error to do a Pulumi deployment which tries to delete a protected resource for any reason.')] [bool] $PulumiProtect, [parameter(HelpMessage='Sets a provider for the resource. The default is to inherit this value from the parent resource, and to use the ambient provider specified by Pulumi configuration for resources without a parent.')] [object] $PulumiProvider = [NullString]::Value, [parameter(HelpMessage='Sets a list of providers for the resource and its children. This list is combined with resource parents providers lists. If no value is provided, the providers list is identical to the parent. When determining which provider to use for a resource, the providers list is used if provider is not supplied.')] [object[]] $PulumiProviders, [parameter(HelpMessage='Used to indicate that changes to certain properties on a resource should force a replacement of the resource instead of an in-place update. Typically users rely on the resource provider to make this decision based on whether the input property is one that the provider knows how to update in place, or if not, requires a replacement to modify. However, there are cases where users want to replace a resource on a change to an input property even if the resource provider itself doesnt believe it has to replace the resource.')] [string[]] $PulumiReplaceOnChanges, [parameter(HelpMessage='Marks a resource to be retained. If this option is set then Pulumi will not call through to the resource providers Delete method when deleting or replacing the resource during pulumi up or pulumi destroy. As a result, the resource will not be deleted from the backing cloud provider, but will be removed from the Pulumi state.')] [bool] $PulumiRetainOnDelete, [parameter(HelpMessage='Specifies a provider version to use when operating on a resource. This version overrides the version information inferred from the current package. This option should be used rarely.')] [string] $PulumiProviderVersion = [NullString]::Value ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:healthcareapis:PrivateEndpointConnection") $resource.options.additionalSecretOutputs = $PulumiSecretOutputs $resource.options.aliases = $PulumiAliases $resource.options.customTimeouts = $PulumiCustomTimeouts $resource.options.deleteBeforeReplace = $PulumiDeleteBeforeReplace $resource.options.ignoreChanges = $PulumiIgnoreChanges $resource.options.import = if([string]::IsNullOrEmpty($PulumiImport)) { [NullString]::Value } else { $PulumiImport } $resource.options.protect = $PulumiProtect $resource.options.replaceOnChanges = $PulumiReplaceOnChanges $resource.options.retainOnDelete = $PulumiRetainOnDelete $resource.options.version = if([string]::IsNullOrEmpty($PulumiProviderVersion)) { [NullString]::Value } else { $PulumiProviderVersion } foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.options.dependson += $Dependency.Reference() } else { $resource.options.dependson += $Dependency } } if($PulumiParent -is [pulumiresource]) { $resource.options.parent = $PulumiParent.Reference() } else { $resource.options.parent = $PulumiParent } foreach($provider in $PulumiProviders) { if($provider -is [pulumiprovider]) { $resource.options.providers += $provider.Reference() } else { $resource.options.providers += $provider } } if($PulumiProvider -is [pulumiprovider]) { $resource.options.provider = $PulumiProvider.Reference() } else { $resource.options.provider = $PulumiProvider } $resource.properties["privateLinkServiceConnectionState"] = $privateLinkServiceConnectionState $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["resourceName"] = $resourceName if($PSBoundParameters.Keys -icontains 'privateEndpointConnectionName') { $resource.properties["privateEndpointConnectionName"] = $privateEndpointConnectionName } $global:pulumiresources += $resource return $resource } } class ServiceManagedIdentityIdentity { [ArgumentCompletions('None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned')] [string] $type [object] $userAssignedIdentities } function New-AzureNativeTypeHealthcareapisServiceManagedIdentityIdentity { param ( [parameter(mandatory=$False,HelpMessage='Type of identity being specified, currently SystemAssigned and None are allowed.)')] [string] [ArgumentCompletions('None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned')] $type, [parameter(mandatory=$False,HelpMessage='The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: ''/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.)')] [object] $userAssignedIdentities ) process { return $([ServiceManagedIdentityIdentity]$PSBoundParameters) } } class CorsConfiguration { [int] $maxAge [string[]] $headers [string[]] $origins [string[]] $methods [bool] $allowCredentials } function New-AzureNativeTypeHealthcareapisCorsConfiguration { param ( [parameter(mandatory=$False,HelpMessage='The max age to be allowed via CORS.)')] [int] $maxAge, [parameter(mandatory=$False,HelpMessage='The headers to be allowed via CORS.)')] [string[]] $headers, [parameter(mandatory=$False,HelpMessage='The origins to be allowed via CORS.)')] [string[]] $origins, [parameter(mandatory=$False,HelpMessage='The methods to be allowed via CORS.)')] [string[]] $methods, [parameter(mandatory=$False,HelpMessage='If credentials are allowed via CORS.)')] [bool] $allowCredentials ) process { return $([CorsConfiguration]$PSBoundParameters) } } function New-AzureNativeHealthcareapisDicomService { [Alias('azure_native_healthcareapis_dicomservice')] param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Setting indicating whether the service has a managed identity associated with it.)')] [ServiceManagedIdentityIdentity] $identity, [parameter(mandatory=$False,HelpMessage='The name of DICOM Service resource.)')] [string] $dicomServiceName, [parameter(mandatory=$False,HelpMessage='The resource location.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='Dicom Service Cors configuration.)')] [CorsConfiguration] $corsConfiguration, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(HelpMessage='Specifies a list of named output properties that should be treated as secrets, which means they will be encrypted. It augments the list of values that Pulumi detects, based on secret inputs to the resource.')] [string[]] $PulumiSecretOutputs, [parameter(HelpMessage='The aliases parameter provides a list of aliases for a resource or component resource. If youre changing the name, type, or parent path of a resource or component resource, you can add the old name to the list of aliases for a resource to ensure that existing resources will be migrated to the new name instead of being deleted and replaced with the new named resource.')] [string[]] $PulumiAliases, [parameter(HelpMessage='The customTimeouts parameter provides a set of custom timeouts for create, update, and delete operations on a resource. These timeouts are specified using a duration string such as 5m (5 minutes), 40s (40 seconds), or 1d (1 day). Supported duration units are ns, us (or µs), ms, s, m, and h (nanoseconds, microseconds, milliseconds, seconds, minutes, and hours, respectively).')] [pulumicustomtimeouts] $PulumiCustomTimeouts, [parameter(HelpMessage='Setting the PulumiDeleteBeforeReplace parameter to true means that Pulumi will delete the existing resource before creating its replacement. Be aware that this behavior has a cascading impact on dependencies so more resources may be replaced, which can lead to downtime. However, this option may be necessary for some resources that manage scarce resources behind the scenes, and/or resources that cannot exist side-by-side.')] [bool] $PulumiDeleteBeforeReplace, [parameter(HelpMessage='Creates a list of explicit dependencies between resources.The DependsOn parameter ensures that resource creation, update, and deletion operations are done in the correct order.')] [object[]] $PulumiDependsOn, [parameter(HelpMessage='Specifies a list of properties that Pulumi will ignore when it updates existing resources. Any properties specified in this list that are also specified in the resources arguments will only be used when creating the resource.')] [string[]] $PulumiIgnoreChanges, [parameter(HelpMessage='Imports an existing cloud resource so that Pulumi can manage it. To import a resource, first specify the PulumiImport parameter with the resources ID')] [string] $PulumiImport = [NullString]::Value, [parameter(HelpMessage='Specifies a parent for a resource. It is used to associate children with the parents that encapsulate or are responsible for them.')] [object] $PulumiParent = [NullString]::Value, [parameter(HelpMessage='Marks a resource as protected. A protected resource cannot be deleted directly, and it will be an error to do a Pulumi deployment which tries to delete a protected resource for any reason.')] [bool] $PulumiProtect, [parameter(HelpMessage='Sets a provider for the resource. The default is to inherit this value from the parent resource, and to use the ambient provider specified by Pulumi configuration for resources without a parent.')] [object] $PulumiProvider = [NullString]::Value, [parameter(HelpMessage='Sets a list of providers for the resource and its children. This list is combined with resource parents providers lists. If no value is provided, the providers list is identical to the parent. When determining which provider to use for a resource, the providers list is used if provider is not supplied.')] [object[]] $PulumiProviders, [parameter(HelpMessage='Used to indicate that changes to certain properties on a resource should force a replacement of the resource instead of an in-place update. Typically users rely on the resource provider to make this decision based on whether the input property is one that the provider knows how to update in place, or if not, requires a replacement to modify. However, there are cases where users want to replace a resource on a change to an input property even if the resource provider itself doesnt believe it has to replace the resource.')] [string[]] $PulumiReplaceOnChanges, [parameter(HelpMessage='Marks a resource to be retained. If this option is set then Pulumi will not call through to the resource providers Delete method when deleting or replacing the resource during pulumi up or pulumi destroy. As a result, the resource will not be deleted from the backing cloud provider, but will be removed from the Pulumi state.')] [bool] $PulumiRetainOnDelete, [parameter(HelpMessage='Specifies a provider version to use when operating on a resource. This version overrides the version information inferred from the current package. This option should be used rarely.')] [string] $PulumiProviderVersion = [NullString]::Value ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:healthcareapis:DicomService") $resource.options.additionalSecretOutputs = $PulumiSecretOutputs $resource.options.aliases = $PulumiAliases $resource.options.customTimeouts = $PulumiCustomTimeouts $resource.options.deleteBeforeReplace = $PulumiDeleteBeforeReplace $resource.options.ignoreChanges = $PulumiIgnoreChanges $resource.options.import = if([string]::IsNullOrEmpty($PulumiImport)) { [NullString]::Value } else { $PulumiImport } $resource.options.protect = $PulumiProtect $resource.options.replaceOnChanges = $PulumiReplaceOnChanges $resource.options.retainOnDelete = $PulumiRetainOnDelete $resource.options.version = if([string]::IsNullOrEmpty($PulumiProviderVersion)) { [NullString]::Value } else { $PulumiProviderVersion } foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.options.dependson += $Dependency.Reference() } else { $resource.options.dependson += $Dependency } } if($PulumiParent -is [pulumiresource]) { $resource.options.parent = $PulumiParent.Reference() } else { $resource.options.parent = $PulumiParent } foreach($provider in $PulumiProviders) { if($provider -is [pulumiprovider]) { $resource.options.providers += $provider.Reference() } else { $resource.options.providers += $provider } } if($PulumiProvider -is [pulumiprovider]) { $resource.options.provider = $PulumiProvider.Reference() } else { $resource.options.provider = $PulumiProvider } $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["workspaceName"] = $workspaceName if($PSBoundParameters.Keys -icontains 'identity') { $resource.properties["identity"] = $identity } if($PSBoundParameters.Keys -icontains 'dicomServiceName') { $resource.properties["dicomServiceName"] = $dicomServiceName } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'corsConfiguration') { $resource.properties["corsConfiguration"] = $corsConfiguration } $global:pulumiresources += $resource return $resource } } class FhirServiceAuthenticationConfiguration { [string] $audience [string] $authority [bool] $smartProxyEnabled } function New-AzureNativeTypeHealthcareapisFhirServiceAuthenticationConfiguration { param ( [parameter(mandatory=$False,HelpMessage='The audience url for the service)')] [string] $audience, [parameter(mandatory=$False,HelpMessage='The authority url for the service)')] [string] $authority, [parameter(mandatory=$False,HelpMessage='If the SMART on FHIR proxy is enabled)')] [bool] $smartProxyEnabled ) process { return $([FhirServiceAuthenticationConfiguration]$PSBoundParameters) } } class FhirServiceExportConfiguration { [string] $storageAccountName } function New-AzureNativeTypeHealthcareapisFhirServiceExportConfiguration { param ( [parameter(mandatory=$False,HelpMessage='The name of the default export storage account.)')] [string] $storageAccountName ) process { return $([FhirServiceExportConfiguration]$PSBoundParameters) } } class FhirServiceCorsConfiguration { [int] $maxAge [string[]] $headers [string[]] $origins [string[]] $methods [bool] $allowCredentials } function New-AzureNativeTypeHealthcareapisFhirServiceCorsConfiguration { param ( [parameter(mandatory=$False,HelpMessage='The max age to be allowed via CORS.)')] [int] $maxAge, [parameter(mandatory=$False,HelpMessage='The headers to be allowed via CORS.)')] [string[]] $headers, [parameter(mandatory=$False,HelpMessage='The origins to be allowed via CORS.)')] [string[]] $origins, [parameter(mandatory=$False,HelpMessage='The methods to be allowed via CORS.)')] [string[]] $methods, [parameter(mandatory=$False,HelpMessage='If credentials are allowed via CORS.)')] [bool] $allowCredentials ) process { return $([FhirServiceCorsConfiguration]$PSBoundParameters) } } class ResourceVersionPolicyConfiguration { [ArgumentCompletions('no-version', 'versioned', 'versioned-update')] [string] $default [object] $resourceTypeOverrides } function New-AzureNativeTypeHealthcareapisResourceVersionPolicyConfiguration { param ( [parameter(mandatory=$False,HelpMessage='The default value for tracking history across all resources.)')] [string] [ArgumentCompletions('no-version', 'versioned', 'versioned-update')] $default, [parameter(mandatory=$False,HelpMessage='A list of FHIR Resources and their version policy overrides.)')] $resourceTypeOverrides ) process { return $([ResourceVersionPolicyConfiguration]$PSBoundParameters) } } class ServiceOciArtifactEntry { [string] $digest [string] $imageName [string] $loginServer } function New-AzureNativeTypeHealthcareapisServiceOciArtifactEntry { param ( [parameter(mandatory=$False,HelpMessage='The artifact digest.)')] [string] $digest, [parameter(mandatory=$False,HelpMessage='The artifact name.)')] [string] $imageName, [parameter(mandatory=$False,HelpMessage='The Azure Container Registry login server.)')] [string] $loginServer ) process { return $([ServiceOciArtifactEntry]$PSBoundParameters) } } class FhirServiceAcrConfiguration { [string[]] $loginServers [ServiceOciArtifactEntry[]] $ociArtifacts } function New-AzureNativeTypeHealthcareapisFhirServiceAcrConfiguration { param ( [parameter(mandatory=$False,HelpMessage='The list of the Azure container registry login servers.)')] [string[]] $loginServers, [parameter(mandatory=$False,HelpMessage='The list of Open Container Initiative (OCI) artifacts.)')] $ociArtifacts ) process { return $([FhirServiceAcrConfiguration]$PSBoundParameters) } } function New-AzureNativeHealthcareapisFhirService { [Alias('azure_native_healthcareapis_fhirservice')] param ( [parameter(mandatory=$False,HelpMessage='Fhir Service authentication configuration.)')] [FhirServiceAuthenticationConfiguration] $authenticationConfiguration, [parameter(mandatory=$False,HelpMessage='Fhir Service export configuration.)')] [FhirServiceExportConfiguration] $exportConfiguration, [parameter(mandatory=$False,HelpMessage='Fhir Service Cors configuration.)')] [FhirServiceCorsConfiguration] $corsConfiguration, [parameter(mandatory=$False,HelpMessage='The resource location.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Fhir Service access policies.)')] $accessPolicies, [parameter(mandatory=$False,HelpMessage='Determines tracking of history for resources.)')] [ResourceVersionPolicyConfiguration] $resourceVersionPolicyConfiguration, [parameter(mandatory=$False,HelpMessage='The name of FHIR Service resource.)')] [string] $fhirServiceName, [parameter(mandatory=$False,HelpMessage='Fhir Service Azure container registry configuration.)')] [FhirServiceAcrConfiguration] $acrConfiguration, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='Setting indicating whether the service has a managed identity associated with it.)')] [ServiceManagedIdentityIdentity] $identity, [parameter(mandatory=$False,HelpMessage='The kind of the service.)')] [string] [ArgumentCompletions('fhir-Stu3', 'fhir-R4')] $kind, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(HelpMessage='Specifies a list of named output properties that should be treated as secrets, which means they will be encrypted. It augments the list of values that Pulumi detects, based on secret inputs to the resource.')] [string[]] $PulumiSecretOutputs, [parameter(HelpMessage='The aliases parameter provides a list of aliases for a resource or component resource. If youre changing the name, type, or parent path of a resource or component resource, you can add the old name to the list of aliases for a resource to ensure that existing resources will be migrated to the new name instead of being deleted and replaced with the new named resource.')] [string[]] $PulumiAliases, [parameter(HelpMessage='The customTimeouts parameter provides a set of custom timeouts for create, update, and delete operations on a resource. These timeouts are specified using a duration string such as 5m (5 minutes), 40s (40 seconds), or 1d (1 day). Supported duration units are ns, us (or µs), ms, s, m, and h (nanoseconds, microseconds, milliseconds, seconds, minutes, and hours, respectively).')] [pulumicustomtimeouts] $PulumiCustomTimeouts, [parameter(HelpMessage='Setting the PulumiDeleteBeforeReplace parameter to true means that Pulumi will delete the existing resource before creating its replacement. Be aware that this behavior has a cascading impact on dependencies so more resources may be replaced, which can lead to downtime. However, this option may be necessary for some resources that manage scarce resources behind the scenes, and/or resources that cannot exist side-by-side.')] [bool] $PulumiDeleteBeforeReplace, [parameter(HelpMessage='Creates a list of explicit dependencies between resources.The DependsOn parameter ensures that resource creation, update, and deletion operations are done in the correct order.')] [object[]] $PulumiDependsOn, [parameter(HelpMessage='Specifies a list of properties that Pulumi will ignore when it updates existing resources. Any properties specified in this list that are also specified in the resources arguments will only be used when creating the resource.')] [string[]] $PulumiIgnoreChanges, [parameter(HelpMessage='Imports an existing cloud resource so that Pulumi can manage it. To import a resource, first specify the PulumiImport parameter with the resources ID')] [string] $PulumiImport = [NullString]::Value, [parameter(HelpMessage='Specifies a parent for a resource. It is used to associate children with the parents that encapsulate or are responsible for them.')] [object] $PulumiParent = [NullString]::Value, [parameter(HelpMessage='Marks a resource as protected. A protected resource cannot be deleted directly, and it will be an error to do a Pulumi deployment which tries to delete a protected resource for any reason.')] [bool] $PulumiProtect, [parameter(HelpMessage='Sets a provider for the resource. The default is to inherit this value from the parent resource, and to use the ambient provider specified by Pulumi configuration for resources without a parent.')] [object] $PulumiProvider = [NullString]::Value, [parameter(HelpMessage='Sets a list of providers for the resource and its children. This list is combined with resource parents providers lists. If no value is provided, the providers list is identical to the parent. When determining which provider to use for a resource, the providers list is used if provider is not supplied.')] [object[]] $PulumiProviders, [parameter(HelpMessage='Used to indicate that changes to certain properties on a resource should force a replacement of the resource instead of an in-place update. Typically users rely on the resource provider to make this decision based on whether the input property is one that the provider knows how to update in place, or if not, requires a replacement to modify. However, there are cases where users want to replace a resource on a change to an input property even if the resource provider itself doesnt believe it has to replace the resource.')] [string[]] $PulumiReplaceOnChanges, [parameter(HelpMessage='Marks a resource to be retained. If this option is set then Pulumi will not call through to the resource providers Delete method when deleting or replacing the resource during pulumi up or pulumi destroy. As a result, the resource will not be deleted from the backing cloud provider, but will be removed from the Pulumi state.')] [bool] $PulumiRetainOnDelete, [parameter(HelpMessage='Specifies a provider version to use when operating on a resource. This version overrides the version information inferred from the current package. This option should be used rarely.')] [string] $PulumiProviderVersion = [NullString]::Value ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:healthcareapis:FhirService") $resource.options.additionalSecretOutputs = $PulumiSecretOutputs $resource.options.aliases = $PulumiAliases $resource.options.customTimeouts = $PulumiCustomTimeouts $resource.options.deleteBeforeReplace = $PulumiDeleteBeforeReplace $resource.options.ignoreChanges = $PulumiIgnoreChanges $resource.options.import = if([string]::IsNullOrEmpty($PulumiImport)) { [NullString]::Value } else { $PulumiImport } $resource.options.protect = $PulumiProtect $resource.options.replaceOnChanges = $PulumiReplaceOnChanges $resource.options.retainOnDelete = $PulumiRetainOnDelete $resource.options.version = if([string]::IsNullOrEmpty($PulumiProviderVersion)) { [NullString]::Value } else { $PulumiProviderVersion } foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.options.dependson += $Dependency.Reference() } else { $resource.options.dependson += $Dependency } } if($PulumiParent -is [pulumiresource]) { $resource.options.parent = $PulumiParent.Reference() } else { $resource.options.parent = $PulumiParent } foreach($provider in $PulumiProviders) { if($provider -is [pulumiprovider]) { $resource.options.providers += $provider.Reference() } else { $resource.options.providers += $provider } } if($PulumiProvider -is [pulumiprovider]) { $resource.options.provider = $PulumiProvider.Reference() } else { $resource.options.provider = $PulumiProvider } $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["workspaceName"] = $workspaceName if($PSBoundParameters.Keys -icontains 'authenticationConfiguration') { $resource.properties["authenticationConfiguration"] = $authenticationConfiguration } if($PSBoundParameters.Keys -icontains 'exportConfiguration') { $resource.properties["exportConfiguration"] = $exportConfiguration } if($PSBoundParameters.Keys -icontains 'corsConfiguration') { $resource.properties["corsConfiguration"] = $corsConfiguration } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'accessPolicies') { $resource.properties["accessPolicies"] = $accessPolicies } if($PSBoundParameters.Keys -icontains 'resourceVersionPolicyConfiguration') { $resource.properties["resourceVersionPolicyConfiguration"] = $resourceVersionPolicyConfiguration } if($PSBoundParameters.Keys -icontains 'fhirServiceName') { $resource.properties["fhirServiceName"] = $fhirServiceName } if($PSBoundParameters.Keys -icontains 'acrConfiguration') { $resource.properties["acrConfiguration"] = $acrConfiguration } if($PSBoundParameters.Keys -icontains 'identity') { $resource.properties["identity"] = $identity } if($PSBoundParameters.Keys -icontains 'kind') { $resource.properties["kind"] = $kind } $global:pulumiresources += $resource return $resource } } function New-AzureNativeHealthcareapisWorkspace { [Alias('azure_native_healthcareapis_workspace')] param ( [parameter(mandatory=$False,HelpMessage='The resource location.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(HelpMessage='Specifies a list of named output properties that should be treated as secrets, which means they will be encrypted. It augments the list of values that Pulumi detects, based on secret inputs to the resource.')] [string[]] $PulumiSecretOutputs, [parameter(HelpMessage='The aliases parameter provides a list of aliases for a resource or component resource. If youre changing the name, type, or parent path of a resource or component resource, you can add the old name to the list of aliases for a resource to ensure that existing resources will be migrated to the new name instead of being deleted and replaced with the new named resource.')] [string[]] $PulumiAliases, [parameter(HelpMessage='The customTimeouts parameter provides a set of custom timeouts for create, update, and delete operations on a resource. These timeouts are specified using a duration string such as 5m (5 minutes), 40s (40 seconds), or 1d (1 day). Supported duration units are ns, us (or µs), ms, s, m, and h (nanoseconds, microseconds, milliseconds, seconds, minutes, and hours, respectively).')] [pulumicustomtimeouts] $PulumiCustomTimeouts, [parameter(HelpMessage='Setting the PulumiDeleteBeforeReplace parameter to true means that Pulumi will delete the existing resource before creating its replacement. Be aware that this behavior has a cascading impact on dependencies so more resources may be replaced, which can lead to downtime. However, this option may be necessary for some resources that manage scarce resources behind the scenes, and/or resources that cannot exist side-by-side.')] [bool] $PulumiDeleteBeforeReplace, [parameter(HelpMessage='Creates a list of explicit dependencies between resources.The DependsOn parameter ensures that resource creation, update, and deletion operations are done in the correct order.')] [object[]] $PulumiDependsOn, [parameter(HelpMessage='Specifies a list of properties that Pulumi will ignore when it updates existing resources. Any properties specified in this list that are also specified in the resources arguments will only be used when creating the resource.')] [string[]] $PulumiIgnoreChanges, [parameter(HelpMessage='Imports an existing cloud resource so that Pulumi can manage it. To import a resource, first specify the PulumiImport parameter with the resources ID')] [string] $PulumiImport = [NullString]::Value, [parameter(HelpMessage='Specifies a parent for a resource. It is used to associate children with the parents that encapsulate or are responsible for them.')] [object] $PulumiParent = [NullString]::Value, [parameter(HelpMessage='Marks a resource as protected. A protected resource cannot be deleted directly, and it will be an error to do a Pulumi deployment which tries to delete a protected resource for any reason.')] [bool] $PulumiProtect, [parameter(HelpMessage='Sets a provider for the resource. The default is to inherit this value from the parent resource, and to use the ambient provider specified by Pulumi configuration for resources without a parent.')] [object] $PulumiProvider = [NullString]::Value, [parameter(HelpMessage='Sets a list of providers for the resource and its children. This list is combined with resource parents providers lists. If no value is provided, the providers list is identical to the parent. When determining which provider to use for a resource, the providers list is used if provider is not supplied.')] [object[]] $PulumiProviders, [parameter(HelpMessage='Used to indicate that changes to certain properties on a resource should force a replacement of the resource instead of an in-place update. Typically users rely on the resource provider to make this decision based on whether the input property is one that the provider knows how to update in place, or if not, requires a replacement to modify. However, there are cases where users want to replace a resource on a change to an input property even if the resource provider itself doesnt believe it has to replace the resource.')] [string[]] $PulumiReplaceOnChanges, [parameter(HelpMessage='Marks a resource to be retained. If this option is set then Pulumi will not call through to the resource providers Delete method when deleting or replacing the resource during pulumi up or pulumi destroy. As a result, the resource will not be deleted from the backing cloud provider, but will be removed from the Pulumi state.')] [bool] $PulumiRetainOnDelete, [parameter(HelpMessage='Specifies a provider version to use when operating on a resource. This version overrides the version information inferred from the current package. This option should be used rarely.')] [string] $PulumiProviderVersion = [NullString]::Value ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:healthcareapis:Workspace") $resource.options.additionalSecretOutputs = $PulumiSecretOutputs $resource.options.aliases = $PulumiAliases $resource.options.customTimeouts = $PulumiCustomTimeouts $resource.options.deleteBeforeReplace = $PulumiDeleteBeforeReplace $resource.options.ignoreChanges = $PulumiIgnoreChanges $resource.options.import = if([string]::IsNullOrEmpty($PulumiImport)) { [NullString]::Value } else { $PulumiImport } $resource.options.protect = $PulumiProtect $resource.options.replaceOnChanges = $PulumiReplaceOnChanges $resource.options.retainOnDelete = $PulumiRetainOnDelete $resource.options.version = if([string]::IsNullOrEmpty($PulumiProviderVersion)) { [NullString]::Value } else { $PulumiProviderVersion } foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.options.dependson += $Dependency.Reference() } else { $resource.options.dependson += $Dependency } } if($PulumiParent -is [pulumiresource]) { $resource.options.parent = $PulumiParent.Reference() } else { $resource.options.parent = $PulumiParent } foreach($provider in $PulumiProviders) { if($provider -is [pulumiprovider]) { $resource.options.providers += $provider.Reference() } else { $resource.options.providers += $provider } } if($PulumiProvider -is [pulumiprovider]) { $resource.options.provider = $PulumiProvider.Reference() } else { $resource.options.provider = $PulumiProvider } $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'workspaceName') { $resource.properties["workspaceName"] = $workspaceName } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } $global:pulumiresources += $resource return $resource } } class IotEventHubIngestionEndpointConfiguration { [string] $consumerGroup [string] $fullyQualifiedEventHubNamespace [string] $eventHubName } function New-AzureNativeTypeHealthcareapisIotEventHubIngestionEndpointConfiguration { param ( [parameter(mandatory=$False,HelpMessage='Consumer group of the event hub to connected to.)')] [string] $consumerGroup, [parameter(mandatory=$False,HelpMessage='Fully qualified namespace of the Event Hub to connect to.)')] [string] $fullyQualifiedEventHubNamespace, [parameter(mandatory=$False,HelpMessage='Event Hub name to connect to.)')] [string] $eventHubName ) process { return $([IotEventHubIngestionEndpointConfiguration]$PSBoundParameters) } } function New-AzureNativeHealthcareapisIotConnector { [Alias('azure_native_healthcareapis_iotconnector')] param ( [parameter(mandatory=$False,HelpMessage='Source configuration.)')] [IotEventHubIngestionEndpointConfiguration] $ingestionEndpointConfiguration, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The resource location.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='Device Mappings.)')] [IotMappingProperties] $deviceMapping, [parameter(mandatory=$False,HelpMessage='The name of IoT Connector resource.)')] [string] $iotConnectorName, [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Setting indicating whether the service has a managed identity associated with it.)')] [ServiceManagedIdentityIdentity] $identity, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(HelpMessage='Specifies a list of named output properties that should be treated as secrets, which means they will be encrypted. It augments the list of values that Pulumi detects, based on secret inputs to the resource.')] [string[]] $PulumiSecretOutputs, [parameter(HelpMessage='The aliases parameter provides a list of aliases for a resource or component resource. If youre changing the name, type, or parent path of a resource or component resource, you can add the old name to the list of aliases for a resource to ensure that existing resources will be migrated to the new name instead of being deleted and replaced with the new named resource.')] [string[]] $PulumiAliases, [parameter(HelpMessage='The customTimeouts parameter provides a set of custom timeouts for create, update, and delete operations on a resource. These timeouts are specified using a duration string such as 5m (5 minutes), 40s (40 seconds), or 1d (1 day). Supported duration units are ns, us (or µs), ms, s, m, and h (nanoseconds, microseconds, milliseconds, seconds, minutes, and hours, respectively).')] [pulumicustomtimeouts] $PulumiCustomTimeouts, [parameter(HelpMessage='Setting the PulumiDeleteBeforeReplace parameter to true means that Pulumi will delete the existing resource before creating its replacement. Be aware that this behavior has a cascading impact on dependencies so more resources may be replaced, which can lead to downtime. However, this option may be necessary for some resources that manage scarce resources behind the scenes, and/or resources that cannot exist side-by-side.')] [bool] $PulumiDeleteBeforeReplace, [parameter(HelpMessage='Creates a list of explicit dependencies between resources.The DependsOn parameter ensures that resource creation, update, and deletion operations are done in the correct order.')] [object[]] $PulumiDependsOn, [parameter(HelpMessage='Specifies a list of properties that Pulumi will ignore when it updates existing resources. Any properties specified in this list that are also specified in the resources arguments will only be used when creating the resource.')] [string[]] $PulumiIgnoreChanges, [parameter(HelpMessage='Imports an existing cloud resource so that Pulumi can manage it. To import a resource, first specify the PulumiImport parameter with the resources ID')] [string] $PulumiImport = [NullString]::Value, [parameter(HelpMessage='Specifies a parent for a resource. It is used to associate children with the parents that encapsulate or are responsible for them.')] [object] $PulumiParent = [NullString]::Value, [parameter(HelpMessage='Marks a resource as protected. A protected resource cannot be deleted directly, and it will be an error to do a Pulumi deployment which tries to delete a protected resource for any reason.')] [bool] $PulumiProtect, [parameter(HelpMessage='Sets a provider for the resource. The default is to inherit this value from the parent resource, and to use the ambient provider specified by Pulumi configuration for resources without a parent.')] [object] $PulumiProvider = [NullString]::Value, [parameter(HelpMessage='Sets a list of providers for the resource and its children. This list is combined with resource parents providers lists. If no value is provided, the providers list is identical to the parent. When determining which provider to use for a resource, the providers list is used if provider is not supplied.')] [object[]] $PulumiProviders, [parameter(HelpMessage='Used to indicate that changes to certain properties on a resource should force a replacement of the resource instead of an in-place update. Typically users rely on the resource provider to make this decision based on whether the input property is one that the provider knows how to update in place, or if not, requires a replacement to modify. However, there are cases where users want to replace a resource on a change to an input property even if the resource provider itself doesnt believe it has to replace the resource.')] [string[]] $PulumiReplaceOnChanges, [parameter(HelpMessage='Marks a resource to be retained. If this option is set then Pulumi will not call through to the resource providers Delete method when deleting or replacing the resource during pulumi up or pulumi destroy. As a result, the resource will not be deleted from the backing cloud provider, but will be removed from the Pulumi state.')] [bool] $PulumiRetainOnDelete, [parameter(HelpMessage='Specifies a provider version to use when operating on a resource. This version overrides the version information inferred from the current package. This option should be used rarely.')] [string] $PulumiProviderVersion = [NullString]::Value ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:healthcareapis:IotConnector") $resource.options.additionalSecretOutputs = $PulumiSecretOutputs $resource.options.aliases = $PulumiAliases $resource.options.customTimeouts = $PulumiCustomTimeouts $resource.options.deleteBeforeReplace = $PulumiDeleteBeforeReplace $resource.options.ignoreChanges = $PulumiIgnoreChanges $resource.options.import = if([string]::IsNullOrEmpty($PulumiImport)) { [NullString]::Value } else { $PulumiImport } $resource.options.protect = $PulumiProtect $resource.options.replaceOnChanges = $PulumiReplaceOnChanges $resource.options.retainOnDelete = $PulumiRetainOnDelete $resource.options.version = if([string]::IsNullOrEmpty($PulumiProviderVersion)) { [NullString]::Value } else { $PulumiProviderVersion } foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.options.dependson += $Dependency.Reference() } else { $resource.options.dependson += $Dependency } } if($PulumiParent -is [pulumiresource]) { $resource.options.parent = $PulumiParent.Reference() } else { $resource.options.parent = $PulumiParent } foreach($provider in $PulumiProviders) { if($provider -is [pulumiprovider]) { $resource.options.providers += $provider.Reference() } else { $resource.options.providers += $provider } } if($PulumiProvider -is [pulumiprovider]) { $resource.options.provider = $PulumiProvider.Reference() } else { $resource.options.provider = $PulumiProvider } $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["workspaceName"] = $workspaceName if($PSBoundParameters.Keys -icontains 'ingestionEndpointConfiguration') { $resource.properties["ingestionEndpointConfiguration"] = $ingestionEndpointConfiguration } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'deviceMapping') { $resource.properties["deviceMapping"] = $deviceMapping } if($PSBoundParameters.Keys -icontains 'iotConnectorName') { $resource.properties["iotConnectorName"] = $iotConnectorName } if($PSBoundParameters.Keys -icontains 'identity') { $resource.properties["identity"] = $identity } $global:pulumiresources += $resource return $resource } } function New-AzureNativeHealthcareapisWorkspacePrivateEndpointConnection { [Alias('azure_native_healthcareapis_workspaceprivateendpointconnection')] param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of workspace resource.)')] [string] $workspaceName, [parameter(mandatory=$False,HelpMessage='The name of the private endpoint connection associated with the Azure resource)')] [string] $privateEndpointConnectionName, [parameter(mandatory=$False,HelpMessage='A collection of information about the state of the connection between service consumer and provider.)')] [PrivateLinkServiceConnectionState] $privateLinkServiceConnectionState, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(HelpMessage='Specifies a list of named output properties that should be treated as secrets, which means they will be encrypted. It augments the list of values that Pulumi detects, based on secret inputs to the resource.')] [string[]] $PulumiSecretOutputs, [parameter(HelpMessage='The aliases parameter provides a list of aliases for a resource or component resource. If youre changing the name, type, or parent path of a resource or component resource, you can add the old name to the list of aliases for a resource to ensure that existing resources will be migrated to the new name instead of being deleted and replaced with the new named resource.')] [string[]] $PulumiAliases, [parameter(HelpMessage='The customTimeouts parameter provides a set of custom timeouts for create, update, and delete operations on a resource. These timeouts are specified using a duration string such as 5m (5 minutes), 40s (40 seconds), or 1d (1 day). Supported duration units are ns, us (or µs), ms, s, m, and h (nanoseconds, microseconds, milliseconds, seconds, minutes, and hours, respectively).')] [pulumicustomtimeouts] $PulumiCustomTimeouts, [parameter(HelpMessage='Setting the PulumiDeleteBeforeReplace parameter to true means that Pulumi will delete the existing resource before creating its replacement. Be aware that this behavior has a cascading impact on dependencies so more resources may be replaced, which can lead to downtime. However, this option may be necessary for some resources that manage scarce resources behind the scenes, and/or resources that cannot exist side-by-side.')] [bool] $PulumiDeleteBeforeReplace, [parameter(HelpMessage='Creates a list of explicit dependencies between resources.The DependsOn parameter ensures that resource creation, update, and deletion operations are done in the correct order.')] [object[]] $PulumiDependsOn, [parameter(HelpMessage='Specifies a list of properties that Pulumi will ignore when it updates existing resources. Any properties specified in this list that are also specified in the resources arguments will only be used when creating the resource.')] [string[]] $PulumiIgnoreChanges, [parameter(HelpMessage='Imports an existing cloud resource so that Pulumi can manage it. To import a resource, first specify the PulumiImport parameter with the resources ID')] [string] $PulumiImport = [NullString]::Value, [parameter(HelpMessage='Specifies a parent for a resource. It is used to associate children with the parents that encapsulate or are responsible for them.')] [object] $PulumiParent = [NullString]::Value, [parameter(HelpMessage='Marks a resource as protected. A protected resource cannot be deleted directly, and it will be an error to do a Pulumi deployment which tries to delete a protected resource for any reason.')] [bool] $PulumiProtect, [parameter(HelpMessage='Sets a provider for the resource. The default is to inherit this value from the parent resource, and to use the ambient provider specified by Pulumi configuration for resources without a parent.')] [object] $PulumiProvider = [NullString]::Value, [parameter(HelpMessage='Sets a list of providers for the resource and its children. This list is combined with resource parents providers lists. If no value is provided, the providers list is identical to the parent. When determining which provider to use for a resource, the providers list is used if provider is not supplied.')] [object[]] $PulumiProviders, [parameter(HelpMessage='Used to indicate that changes to certain properties on a resource should force a replacement of the resource instead of an in-place update. Typically users rely on the resource provider to make this decision based on whether the input property is one that the provider knows how to update in place, or if not, requires a replacement to modify. However, there are cases where users want to replace a resource on a change to an input property even if the resource provider itself doesnt believe it has to replace the resource.')] [string[]] $PulumiReplaceOnChanges, [parameter(HelpMessage='Marks a resource to be retained. If this option is set then Pulumi will not call through to the resource providers Delete method when deleting or replacing the resource during pulumi up or pulumi destroy. As a result, the resource will not be deleted from the backing cloud provider, but will be removed from the Pulumi state.')] [bool] $PulumiRetainOnDelete, [parameter(HelpMessage='Specifies a provider version to use when operating on a resource. This version overrides the version information inferred from the current package. This option should be used rarely.')] [string] $PulumiProviderVersion = [NullString]::Value ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:healthcareapis:WorkspacePrivateEndpointConnection") $resource.options.additionalSecretOutputs = $PulumiSecretOutputs $resource.options.aliases = $PulumiAliases $resource.options.customTimeouts = $PulumiCustomTimeouts $resource.options.deleteBeforeReplace = $PulumiDeleteBeforeReplace $resource.options.ignoreChanges = $PulumiIgnoreChanges $resource.options.import = if([string]::IsNullOrEmpty($PulumiImport)) { [NullString]::Value } else { $PulumiImport } $resource.options.protect = $PulumiProtect $resource.options.replaceOnChanges = $PulumiReplaceOnChanges $resource.options.retainOnDelete = $PulumiRetainOnDelete $resource.options.version = if([string]::IsNullOrEmpty($PulumiProviderVersion)) { [NullString]::Value } else { $PulumiProviderVersion } foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.options.dependson += $Dependency.Reference() } else { $resource.options.dependson += $Dependency } } if($PulumiParent -is [pulumiresource]) { $resource.options.parent = $PulumiParent.Reference() } else { $resource.options.parent = $PulumiParent } foreach($provider in $PulumiProviders) { if($provider -is [pulumiprovider]) { $resource.options.providers += $provider.Reference() } else { $resource.options.providers += $provider } } if($PulumiProvider -is [pulumiprovider]) { $resource.options.provider = $PulumiProvider.Reference() } else { $resource.options.provider = $PulumiProvider } $resource.properties["privateLinkServiceConnectionState"] = $privateLinkServiceConnectionState $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["workspaceName"] = $workspaceName if($PSBoundParameters.Keys -icontains 'privateEndpointConnectionName') { $resource.properties["privateEndpointConnectionName"] = $privateEndpointConnectionName } $global:pulumiresources += $resource return $resource } } class ServicesResourceIdentity { [ArgumentCompletions('SystemAssigned', 'None')] [string] $type } function New-AzureNativeTypeHealthcareapisServicesResourceIdentity { param ( [parameter(mandatory=$False,HelpMessage='Type of identity being specified, currently SystemAssigned and None are allowed.)')] [string] [ArgumentCompletions('SystemAssigned', 'None')] $type ) process { return $([ServicesResourceIdentity]$PSBoundParameters) } } class ServiceAuthenticationConfigurationInfo { [string] $audience [string] $authority [bool] $smartProxyEnabled } function New-AzureNativeTypeHealthcareapisServiceAuthenticationConfigurationInfo { param ( [parameter(mandatory=$False,HelpMessage='The audience url for the service)')] [string] $audience, [parameter(mandatory=$False,HelpMessage='The authority url for the service)')] [string] $authority, [parameter(mandatory=$False,HelpMessage='If the SMART on FHIR proxy is enabled)')] [bool] $smartProxyEnabled ) process { return $([ServiceAuthenticationConfigurationInfo]$PSBoundParameters) } } class ServiceExportConfigurationInfo { [string] $storageAccountName } function New-AzureNativeTypeHealthcareapisServiceExportConfigurationInfo { param ( [parameter(mandatory=$False,HelpMessage='The name of the default export storage account.)')] [string] $storageAccountName ) process { return $([ServiceExportConfigurationInfo]$PSBoundParameters) } } class ServiceCorsConfigurationInfo { [int] $maxAge [string[]] $headers [string[]] $origins [string[]] $methods [bool] $allowCredentials } function New-AzureNativeTypeHealthcareapisServiceCorsConfigurationInfo { param ( [parameter(mandatory=$False,HelpMessage='The max age to be allowed via CORS.)')] [int] $maxAge, [parameter(mandatory=$False,HelpMessage='The headers to be allowed via CORS.)')] [string[]] $headers, [parameter(mandatory=$False,HelpMessage='The origins to be allowed via CORS.)')] [string[]] $origins, [parameter(mandatory=$False,HelpMessage='The methods to be allowed via CORS.)')] [string[]] $methods, [parameter(mandatory=$False,HelpMessage='If credentials are allowed via CORS.)')] [bool] $allowCredentials ) process { return $([ServiceCorsConfigurationInfo]$PSBoundParameters) } } class ServiceAccessPolicyEntry { [string] $objectId } function New-AzureNativeTypeHealthcareapisServiceAccessPolicyEntry { param ( [parameter(mandatory=$False,HelpMessage='An Azure AD object ID (User or Apps) that is allowed access to the FHIR service.)')] [string] $objectId ) process { return $([ServiceAccessPolicyEntry]$PSBoundParameters) } } class ServiceAcrConfigurationInfo { [string[]] $loginServers [ServiceOciArtifactEntry[]] $ociArtifacts } function New-AzureNativeTypeHealthcareapisServiceAcrConfigurationInfo { param ( [parameter(mandatory=$False,HelpMessage='The list of the ACR login servers.)')] [string[]] $loginServers, [parameter(mandatory=$False,HelpMessage='The list of Open Container Initiative (OCI) artifacts.)')] $ociArtifacts ) process { return $([ServiceAcrConfigurationInfo]$PSBoundParameters) } } class PrivateEndpointConnection { [PrivateLinkServiceConnectionState] $privateLinkServiceConnectionState } function New-AzureNativeTypeHealthcareapisPrivateEndpointConnection { param ( [parameter(mandatory=$False,HelpMessage='A collection of information about the state of the connection between service consumer and provider.)')] [PrivateLinkServiceConnectionState] $privateLinkServiceConnectionState ) process { return $([PrivateEndpointConnection]$PSBoundParameters) } } class ServiceCosmosDbConfigurationInfo { [int] $offerThroughput [string] $keyVaultKeyUri } function New-AzureNativeTypeHealthcareapisServiceCosmosDbConfigurationInfo { param ( [parameter(mandatory=$False,HelpMessage='The provisioned throughput for the backing database.)')] [int] $offerThroughput, [parameter(mandatory=$False,HelpMessage='The URI of the customer-managed key for the backing database.)')] [string] $keyVaultKeyUri ) process { return $([ServiceCosmosDbConfigurationInfo]$PSBoundParameters) } } class ServicesProperties { [ServiceAuthenticationConfigurationInfo] $authenticationConfiguration [ServiceExportConfigurationInfo] $exportConfiguration [ServiceCorsConfigurationInfo] $corsConfiguration [ServiceAccessPolicyEntry[]] $accessPolicies [ServiceAcrConfigurationInfo] $acrConfiguration [PrivateEndpointConnection[]] $privateEndpointConnections [ServiceCosmosDbConfigurationInfo] $cosmosDbConfiguration [ArgumentCompletions('Enabled', 'Disabled')] [string] $publicNetworkAccess } function New-AzureNativeTypeHealthcareapisServicesProperties { param ( [parameter(mandatory=$False,HelpMessage='The authentication configuration for the service instance.)')] [ServiceAuthenticationConfigurationInfo] $authenticationConfiguration, [parameter(mandatory=$False,HelpMessage='The settings for the export operation of the service instance.)')] [ServiceExportConfigurationInfo] $exportConfiguration, [parameter(mandatory=$False,HelpMessage='The settings for the CORS configuration of the service instance.)')] [ServiceCorsConfigurationInfo] $corsConfiguration, [parameter(mandatory=$False,HelpMessage='The access policies of the service instance.)')] $accessPolicies, [parameter(mandatory=$False,HelpMessage='The azure container registry settings used for convert data operation of the service instance.)')] [ServiceAcrConfigurationInfo] $acrConfiguration, [parameter(mandatory=$False,HelpMessage='The list of private endpoint connections that are set up for this resource.)')] $privateEndpointConnections, [parameter(mandatory=$False,HelpMessage='The settings for the Cosmos DB database backing the service.)')] [ServiceCosmosDbConfigurationInfo] $cosmosDbConfiguration, [parameter(mandatory=$False,HelpMessage='Control permission for data plane traffic coming from public networks while private endpoint is enabled.)')] [string] [ArgumentCompletions('Enabled', 'Disabled')] $publicNetworkAccess ) process { return $([ServicesProperties]$PSBoundParameters) } } function New-AzureNativeHealthcareapisService { [Alias('azure_native_healthcareapis_service')] param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group that contains the service instance.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Setting indicating whether the service has a managed identity associated with it.)')] [ServicesResourceIdentity] $identity, [parameter(mandatory=$False,HelpMessage='The resource location.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The name of the service instance.)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='The common properties of a service.)')] [ServicesProperties] $properties, [parameter(mandatory=$False,HelpMessage='The kind of the service.)')] $kind, [parameter(mandatory=$False,HelpMessage='The resource tags.)')] [hashtable] $tags, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(HelpMessage='Specifies a list of named output properties that should be treated as secrets, which means they will be encrypted. It augments the list of values that Pulumi detects, based on secret inputs to the resource.')] [string[]] $PulumiSecretOutputs, [parameter(HelpMessage='The aliases parameter provides a list of aliases for a resource or component resource. If youre changing the name, type, or parent path of a resource or component resource, you can add the old name to the list of aliases for a resource to ensure that existing resources will be migrated to the new name instead of being deleted and replaced with the new named resource.')] [string[]] $PulumiAliases, [parameter(HelpMessage='The customTimeouts parameter provides a set of custom timeouts for create, update, and delete operations on a resource. These timeouts are specified using a duration string such as 5m (5 minutes), 40s (40 seconds), or 1d (1 day). Supported duration units are ns, us (or µs), ms, s, m, and h (nanoseconds, microseconds, milliseconds, seconds, minutes, and hours, respectively).')] [pulumicustomtimeouts] $PulumiCustomTimeouts, [parameter(HelpMessage='Setting the PulumiDeleteBeforeReplace parameter to true means that Pulumi will delete the existing resource before creating its replacement. Be aware that this behavior has a cascading impact on dependencies so more resources may be replaced, which can lead to downtime. However, this option may be necessary for some resources that manage scarce resources behind the scenes, and/or resources that cannot exist side-by-side.')] [bool] $PulumiDeleteBeforeReplace, [parameter(HelpMessage='Creates a list of explicit dependencies between resources.The DependsOn parameter ensures that resource creation, update, and deletion operations are done in the correct order.')] [object[]] $PulumiDependsOn, [parameter(HelpMessage='Specifies a list of properties that Pulumi will ignore when it updates existing resources. Any properties specified in this list that are also specified in the resources arguments will only be used when creating the resource.')] [string[]] $PulumiIgnoreChanges, [parameter(HelpMessage='Imports an existing cloud resource so that Pulumi can manage it. To import a resource, first specify the PulumiImport parameter with the resources ID')] [string] $PulumiImport = [NullString]::Value, [parameter(HelpMessage='Specifies a parent for a resource. It is used to associate children with the parents that encapsulate or are responsible for them.')] [object] $PulumiParent = [NullString]::Value, [parameter(HelpMessage='Marks a resource as protected. A protected resource cannot be deleted directly, and it will be an error to do a Pulumi deployment which tries to delete a protected resource for any reason.')] [bool] $PulumiProtect, [parameter(HelpMessage='Sets a provider for the resource. The default is to inherit this value from the parent resource, and to use the ambient provider specified by Pulumi configuration for resources without a parent.')] [object] $PulumiProvider = [NullString]::Value, [parameter(HelpMessage='Sets a list of providers for the resource and its children. This list is combined with resource parents providers lists. If no value is provided, the providers list is identical to the parent. When determining which provider to use for a resource, the providers list is used if provider is not supplied.')] [object[]] $PulumiProviders, [parameter(HelpMessage='Used to indicate that changes to certain properties on a resource should force a replacement of the resource instead of an in-place update. Typically users rely on the resource provider to make this decision based on whether the input property is one that the provider knows how to update in place, or if not, requires a replacement to modify. However, there are cases where users want to replace a resource on a change to an input property even if the resource provider itself doesnt believe it has to replace the resource.')] [string[]] $PulumiReplaceOnChanges, [parameter(HelpMessage='Marks a resource to be retained. If this option is set then Pulumi will not call through to the resource providers Delete method when deleting or replacing the resource during pulumi up or pulumi destroy. As a result, the resource will not be deleted from the backing cloud provider, but will be removed from the Pulumi state.')] [bool] $PulumiRetainOnDelete, [parameter(HelpMessage='Specifies a provider version to use when operating on a resource. This version overrides the version information inferred from the current package. This option should be used rarely.')] [string] $PulumiProviderVersion = [NullString]::Value ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:healthcareapis:Service") $resource.options.additionalSecretOutputs = $PulumiSecretOutputs $resource.options.aliases = $PulumiAliases $resource.options.customTimeouts = $PulumiCustomTimeouts $resource.options.deleteBeforeReplace = $PulumiDeleteBeforeReplace $resource.options.ignoreChanges = $PulumiIgnoreChanges $resource.options.import = if([string]::IsNullOrEmpty($PulumiImport)) { [NullString]::Value } else { $PulumiImport } $resource.options.protect = $PulumiProtect $resource.options.replaceOnChanges = $PulumiReplaceOnChanges $resource.options.retainOnDelete = $PulumiRetainOnDelete $resource.options.version = if([string]::IsNullOrEmpty($PulumiProviderVersion)) { [NullString]::Value } else { $PulumiProviderVersion } foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.options.dependson += $Dependency.Reference() } else { $resource.options.dependson += $Dependency } } if($PulumiParent -is [pulumiresource]) { $resource.options.parent = $PulumiParent.Reference() } else { $resource.options.parent = $PulumiParent } foreach($provider in $PulumiProviders) { if($provider -is [pulumiprovider]) { $resource.options.providers += $provider.Reference() } else { $resource.options.providers += $provider } } if($PulumiProvider -is [pulumiprovider]) { $resource.options.provider = $PulumiProvider.Reference() } else { $resource.options.provider = $PulumiProvider } $resource.properties["kind"] = $kind $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'identity') { $resource.properties["identity"] = $identity } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'resourceName') { $resource.properties["resourceName"] = $resourceName } if($PSBoundParameters.Keys -icontains 'properties') { $resource.properties["properties"] = $properties } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } $global:pulumiresources += $resource return $resource } } |