pspulumiyaml.azurenative.customerinsights.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionCustomerinsightsGetImageUploadUrlForEntityType { param ( [parameter(mandatory=$False,HelpMessage='Name of the entity type.)')] [string] $entityTypeName, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Relative path of the image.)')] [string] $relativePath, [parameter(mandatory=$False,HelpMessage='Type of entity. Can be Profile or Interaction.)')] [string] $entityType ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'entityTypeName') { $arguments["entityTypeName"] = $entityTypeName } if($PSBoundParameters.Keys -icontains 'relativePath') { $arguments["relativePath"] = $relativePath } if($PSBoundParameters.Keys -icontains 'entityType') { $arguments["entityType"] = $entityType } $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getImageUploadUrlForEntityType -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetPredictionTrainingResults { param ( [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the Prediction.)')] [string] $predictionName ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["predictionName"] = $predictionName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getPredictionTrainingResults -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetRelationship { param ( [parameter(mandatory=$False,HelpMessage='The name of the relationship.)')] [string] $relationshipName, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["relationshipName"] = $relationshipName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getRelationship -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetProfile { param ( [parameter(mandatory=$False,HelpMessage='The name of the profile.)')] [string] $profileName, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='Locale of profile to retrieve, default is en-us.)')] [string] $localeCode, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["profileName"] = $profileName $arguments["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'localeCode') { $arguments["localeCode"] = $localeCode } $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getProfile -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetKpi { param ( [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the KPI.)')] [string] $kpiName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["kpiName"] = $kpiName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getKpi -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetPredictionModelStatus { param ( [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the Prediction.)')] [string] $predictionName ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["predictionName"] = $predictionName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getPredictionModelStatus -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetRoleAssignment { param ( [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the role assignment.)')] [string] $assignmentName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["assignmentName"] = $assignmentName $arguments["hubName"] = $hubName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getRoleAssignment -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetImageUploadUrlForData { param ( [parameter(mandatory=$False,HelpMessage='Name of the entity type.)')] [string] $entityTypeName, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Relative path of the image.)')] [string] $relativePath, [parameter(mandatory=$False,HelpMessage='Type of entity. Can be Profile or Interaction.)')] [string] $entityType ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'entityTypeName') { $arguments["entityTypeName"] = $entityTypeName } if($PSBoundParameters.Keys -icontains 'relativePath') { $arguments["relativePath"] = $relativePath } if($PSBoundParameters.Keys -icontains 'entityType') { $arguments["entityType"] = $entityType } $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getImageUploadUrlForData -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetConnectorMapping { param ( [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the connector.)')] [string] $connectorName, [parameter(mandatory=$False,HelpMessage='The name of the connector mapping.)')] [string] $mappingName ) process { $arguments = @{} $arguments["connectorName"] = $connectorName $arguments["hubName"] = $hubName $arguments["mappingName"] = $mappingName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getConnectorMapping -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetHub { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getHub -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetLink { param ( [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the link.)')] [string] $linkName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["linkName"] = $linkName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getLink -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetConnector { param ( [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the connector.)')] [string] $connectorName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["connectorName"] = $connectorName $arguments["hubName"] = $hubName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getConnector -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetPrediction { param ( [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the Prediction.)')] [string] $predictionName ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["predictionName"] = $predictionName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getPrediction -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetView { param ( [parameter(mandatory=$False,HelpMessage='The user ID. Use * to retrieve hub level view.)')] [string] $userId, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the view.)')] [string] $viewName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["resourceGroupName"] = $resourceGroupName $arguments["userId"] = $userId $arguments["viewName"] = $viewName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getView -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionCustomerinsightsGetRelationshipLink { param ( [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the relationship link.)')] [string] $relationshipLinkName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["hubName"] = $hubName $arguments["relationshipLinkName"] = $relationshipLinkName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:customerinsights:getRelationshipLink -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } class ResourceSetDescription { [string[]] $exceptions [string[]] $elements } function New-AzureNativeTypeCustomerinsightsResourceSetDescription { param ( [parameter(mandatory=$False,HelpMessage='The elements that are not included in the set, in case elements contains ''*'' indicating ''all''.)')] [string[]] $exceptions, [parameter(mandatory=$False,HelpMessage='The elements included in the set.)')] [string[]] $elements ) process { return $([ResourceSetDescription]$PSBoundParameters) } } function New-AzureNativeCustomerinsightsRoleAssignment { [Alias('azure_native_customerinsights_roleassignment')] param ( [parameter(mandatory=$False,HelpMessage='The Role assignments set for the assignment.)')] [ResourceSetDescription] $roleAssignments, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='Sas Policies set for the assignment.)')] [ResourceSetDescription] $sasPolicies, [parameter(mandatory=$False,HelpMessage='The principals being assigned to.)')] $principals, [parameter(mandatory=$False,HelpMessage='Localized display names for the metadata.)')] [hashtable] $displayName, [parameter(mandatory=$False,HelpMessage='Interactions set for the assignment.)')] [ResourceSetDescription] $interactions, [parameter(mandatory=$False,HelpMessage='Localized description for the metadata.)')] [hashtable] $description, [parameter(mandatory=$False,HelpMessage='The Role assignments set for the assignment.)')] [ResourceSetDescription] $segments, [parameter(mandatory=$False,HelpMessage='The assignment name)')] [string] $assignmentName, [parameter(mandatory=$False,HelpMessage='The Role assignments set for the relationship links.)')] [ResourceSetDescription] $relationshipLinks, [parameter(mandatory=$False,HelpMessage='Profiles set for the assignment.)')] [ResourceSetDescription] $profiles, [parameter(mandatory=$False,HelpMessage='Connectors set for the assignment.)')] [ResourceSetDescription] $connectors, [parameter(mandatory=$False,HelpMessage='Views set for the assignment.)')] [ResourceSetDescription] $views, [parameter(mandatory=$False,HelpMessage='Links set for the assignment.)')] [ResourceSetDescription] $links, [parameter(mandatory=$False,HelpMessage='The Role assignments set for the relationships.)')] [ResourceSetDescription] $relationships, [parameter(mandatory=$False,HelpMessage='Widget types set for the assignment.)')] [ResourceSetDescription] $widgetTypes, [parameter(mandatory=$False,HelpMessage='Widget types set for the assignment.)')] [ResourceSetDescription] $conflationPolicies, [parameter(mandatory=$False,HelpMessage='Kpis set for the assignment.)')] [ResourceSetDescription] $kpis, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Type of roles.)')] $role, [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:customerinsights:RoleAssignment") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["hubName"] = $hubName $resource.properties["principals"] = $principals $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["role"] = $role if($PSBoundParameters.Keys -icontains 'roleAssignments') { $resource.properties["roleAssignments"] = $roleAssignments } if($PSBoundParameters.Keys -icontains 'sasPolicies') { $resource.properties["sasPolicies"] = $sasPolicies } if($PSBoundParameters.Keys -icontains 'displayName') { $resource.properties["displayName"] = $displayName } if($PSBoundParameters.Keys -icontains 'interactions') { $resource.properties["interactions"] = $interactions } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'segments') { $resource.properties["segments"] = $segments } if($PSBoundParameters.Keys -icontains 'assignmentName') { $resource.properties["assignmentName"] = $assignmentName } if($PSBoundParameters.Keys -icontains 'relationshipLinks') { $resource.properties["relationshipLinks"] = $relationshipLinks } if($PSBoundParameters.Keys -icontains 'profiles') { $resource.properties["profiles"] = $profiles } if($PSBoundParameters.Keys -icontains 'connectors') { $resource.properties["connectors"] = $connectors } if($PSBoundParameters.Keys -icontains 'views') { $resource.properties["views"] = $views } if($PSBoundParameters.Keys -icontains 'links') { $resource.properties["links"] = $links } if($PSBoundParameters.Keys -icontains 'relationships') { $resource.properties["relationships"] = $relationships } if($PSBoundParameters.Keys -icontains 'widgetTypes') { $resource.properties["widgetTypes"] = $widgetTypes } if($PSBoundParameters.Keys -icontains 'conflationPolicies') { $resource.properties["conflationPolicies"] = $conflationPolicies } if($PSBoundParameters.Keys -icontains 'kpis') { $resource.properties["kpis"] = $kpis } $global:pulumiresources += $resource return $resource } } function New-AzureNativeCustomerinsightsConnector { [Alias('azure_native_customerinsights_connector')] param ( [parameter(mandatory=$False,HelpMessage='Display name of the connector.)')] [string] $displayName, [parameter(mandatory=$False,HelpMessage='Name of the connector.)')] [string] $connectorName, [parameter(mandatory=$False,HelpMessage='Description of the connector.)')] [string] $description, [parameter(mandatory=$False,HelpMessage='Type of connector.)')] [string] [ValidateSet('None', 'CRM', 'AzureBlob', 'Salesforce', 'ExchangeOnline', 'Outbound')] $connectorType, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='If this is an internal connector.)')] [bool] $isInternal, [parameter(mandatory=$False,HelpMessage='The connector properties.)')] [object] $connectorProperties, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [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:customerinsights:Connector") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["connectorProperties"] = $connectorProperties $resource.properties["connectorType"] = $connectorType $resource.properties["hubName"] = $hubName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'displayName') { $resource.properties["displayName"] = $displayName } if($PSBoundParameters.Keys -icontains 'connectorName') { $resource.properties["connectorName"] = $connectorName } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'isInternal') { $resource.properties["isInternal"] = $isInternal } $global:pulumiresources += $resource return $resource } } function New-AzureNativeCustomerinsightsProfile { [Alias('azure_native_customerinsights_profile')] param ( [parameter(mandatory=$False,HelpMessage='Small Image associated with the Property or EntityType.)')] [string] $smallImage, [parameter(mandatory=$False,HelpMessage='Localized descriptions for the property.)')] [hashtable] $description, [parameter(mandatory=$False,HelpMessage='Medium Image associated with the Property or EntityType.)')] [string] $mediumImage, [parameter(mandatory=$False,HelpMessage='Localized display names for the property.)')] [hashtable] $displayName, [parameter(mandatory=$False,HelpMessage='The strong IDs.)')] $strongIds, [parameter(mandatory=$False,HelpMessage='The attributes for the Type.)')] [object] $attributes, [parameter(mandatory=$False,HelpMessage='The schema org link. This helps ACI identify and suggest semantic models.)')] [string] $schemaItemTypeLink, [parameter(mandatory=$False,HelpMessage='Large Image associated with the Property or EntityType.)')] [string] $largeImage, [parameter(mandatory=$False,HelpMessage='The instance count.)')] [int] $instancesCount, [parameter(mandatory=$False,HelpMessage='The properties of the Profile.)')] $fields, [parameter(mandatory=$False,HelpMessage='The name of the profile.)')] [string] $profileName, [parameter(mandatory=$False,HelpMessage='The name of the entity.)')] [string] $typeName, [parameter(mandatory=$False,HelpMessage='Type of entity.)')] $entityType, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='Any custom localized attributes for the Type.)')] [object] $localizedAttributes, [parameter(mandatory=$False,HelpMessage='The timestamp property name. Represents the time when the interaction or profile update happened.)')] [string] $timestampFieldName, [parameter(mandatory=$False,HelpMessage='The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.)')] [string] $apiEntitySetName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [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:customerinsights:Profile") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["hubName"] = $hubName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'smallImage') { $resource.properties["smallImage"] = $smallImage } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'mediumImage') { $resource.properties["mediumImage"] = $mediumImage } if($PSBoundParameters.Keys -icontains 'displayName') { $resource.properties["displayName"] = $displayName } if($PSBoundParameters.Keys -icontains 'strongIds') { $resource.properties["strongIds"] = $strongIds } if($PSBoundParameters.Keys -icontains 'attributes') { $resource.properties["attributes"] = $attributes } if($PSBoundParameters.Keys -icontains 'schemaItemTypeLink') { $resource.properties["schemaItemTypeLink"] = $schemaItemTypeLink } if($PSBoundParameters.Keys -icontains 'largeImage') { $resource.properties["largeImage"] = $largeImage } if($PSBoundParameters.Keys -icontains 'instancesCount') { $resource.properties["instancesCount"] = $instancesCount } if($PSBoundParameters.Keys -icontains 'fields') { $resource.properties["fields"] = $fields } if($PSBoundParameters.Keys -icontains 'profileName') { $resource.properties["profileName"] = $profileName } if($PSBoundParameters.Keys -icontains 'typeName') { $resource.properties["typeName"] = $typeName } if($PSBoundParameters.Keys -icontains 'entityType') { $resource.properties["entityType"] = $entityType } if($PSBoundParameters.Keys -icontains 'localizedAttributes') { $resource.properties["localizedAttributes"] = $localizedAttributes } if($PSBoundParameters.Keys -icontains 'timestampFieldName') { $resource.properties["timestampFieldName"] = $timestampFieldName } if($PSBoundParameters.Keys -icontains 'apiEntitySetName') { $resource.properties["apiEntitySetName"] = $apiEntitySetName } $global:pulumiresources += $resource return $resource } } function New-AzureNativeCustomerinsightsView { [Alias('azure_native_customerinsights_view')] param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Localized display name for the view.)')] [hashtable] $displayName, [parameter(mandatory=$False,HelpMessage='The name of the view.)')] [string] $viewName, [parameter(mandatory=$False,HelpMessage='View definition.)')] [string] $definition, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='the user ID.)')] [string] $userId, [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:customerinsights:View") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["definition"] = $definition $resource.properties["hubName"] = $hubName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'displayName') { $resource.properties["displayName"] = $displayName } if($PSBoundParameters.Keys -icontains 'viewName') { $resource.properties["viewName"] = $viewName } if($PSBoundParameters.Keys -icontains 'userId') { $resource.properties["userId"] = $userId } $global:pulumiresources += $resource return $resource } } function New-AzureNativeCustomerinsightsRelationshipLink { [Alias('azure_native_customerinsights_relationshiplink')] param ( [parameter(mandatory=$False,HelpMessage='The InteractionType associated with the Relationship Link.)')] [string] $interactionType, [parameter(mandatory=$False,HelpMessage='The property references for the Profile of the Relationship.)')] $profilePropertyReferences, [parameter(mandatory=$False,HelpMessage='The Relationship associated with the Link.)')] [string] $relationshipName, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The property references for the Related Profile of the Relationship.)')] $relatedProfilePropertyReferences, [parameter(mandatory=$False,HelpMessage='Localized display name for the Relationship Link.)')] [hashtable] $displayName, [parameter(mandatory=$False,HelpMessage='The mappings between Interaction and Relationship fields.)')] $mappings, [parameter(mandatory=$False,HelpMessage='Localized descriptions for the Relationship Link.)')] [hashtable] $description, [parameter(mandatory=$False,HelpMessage='The name of the relationship link.)')] [string] $relationshipLinkName, [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:customerinsights:RelationshipLink") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["hubName"] = $hubName $resource.properties["interactionType"] = $interactionType $resource.properties["profilePropertyReferences"] = $profilePropertyReferences $resource.properties["relatedProfilePropertyReferences"] = $relatedProfilePropertyReferences $resource.properties["relationshipName"] = $relationshipName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'displayName') { $resource.properties["displayName"] = $displayName } if($PSBoundParameters.Keys -icontains 'mappings') { $resource.properties["mappings"] = $mappings } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'relationshipLinkName') { $resource.properties["relationshipLinkName"] = $relationshipLinkName } $global:pulumiresources += $resource return $resource } } class KpiThresholds { [int] $upperLimit [bool] $increasingKpi [int] $lowerLimit } function New-AzureNativeTypeCustomerinsightsKpiThresholds { param ( [parameter(mandatory=$False,HelpMessage='The upper threshold limit.)')] [int] $upperLimit, [parameter(mandatory=$False,HelpMessage='Whether or not the KPI is an increasing KPI.)')] [bool] $increasingKpi, [parameter(mandatory=$False,HelpMessage='The lower threshold limit.)')] [int] $lowerLimit ) process { return $([KpiThresholds]$PSBoundParameters) } } function New-AzureNativeCustomerinsightsKpi { [Alias('azure_native_customerinsights_kpi')] param ( [parameter(mandatory=$False,HelpMessage='The KPI thresholds.)')] [KpiThresholds] $thresHolds, [parameter(mandatory=$False,HelpMessage='The KPI extracts.)')] $extracts, [parameter(mandatory=$False,HelpMessage='The unit of measurement for the KPI.)')] [string] $unit, [parameter(mandatory=$False,HelpMessage='The computation function for the KPI.)')] $function, [parameter(mandatory=$False,HelpMessage='Localized display name for the KPI.)')] [hashtable] $displayName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The computation expression for the KPI.)')] [string] $expression, [parameter(mandatory=$False,HelpMessage='The filter expression for the KPI.)')] [string] $filter, [parameter(mandatory=$False,HelpMessage='the group by properties for the KPI.)')] [string[]] $groupBy, [parameter(mandatory=$False,HelpMessage='The name of the KPI.)')] [string] $kpiName, [parameter(mandatory=$False,HelpMessage='The mapping entity name.)')] [string] $entityTypeName, [parameter(mandatory=$False,HelpMessage='The mapping entity type.)')] $entityType, [parameter(mandatory=$False,HelpMessage='Localized description for the KPI.)')] [hashtable] $description, [parameter(mandatory=$False,HelpMessage='The aliases.)')] $aliases, [parameter(mandatory=$False,HelpMessage='Name of calculation window field.)')] [string] $calculationWindowFieldName, [parameter(mandatory=$False,HelpMessage='The calculation window.)')] $calculationWindow, [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:customerinsights:Kpi") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["calculationWindow"] = $calculationWindow $resource.properties["entityType"] = $entityType $resource.properties["entityTypeName"] = $entityTypeName $resource.properties["expression"] = $expression $resource.properties["function"] = $function $resource.properties["hubName"] = $hubName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'thresHolds') { $resource.properties["thresHolds"] = $thresHolds } if($PSBoundParameters.Keys -icontains 'extracts') { $resource.properties["extracts"] = $extracts } if($PSBoundParameters.Keys -icontains 'unit') { $resource.properties["unit"] = $unit } if($PSBoundParameters.Keys -icontains 'displayName') { $resource.properties["displayName"] = $displayName } if($PSBoundParameters.Keys -icontains 'filter') { $resource.properties["filter"] = $filter } if($PSBoundParameters.Keys -icontains 'groupBy') { $resource.properties["groupBy"] = $groupBy } if($PSBoundParameters.Keys -icontains 'kpiName') { $resource.properties["kpiName"] = $kpiName } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'aliases') { $resource.properties["aliases"] = $aliases } if($PSBoundParameters.Keys -icontains 'calculationWindowFieldName') { $resource.properties["calculationWindowFieldName"] = $calculationWindowFieldName } $global:pulumiresources += $resource return $resource } } class HubBillingInfoFormat { [int] $maxUnits [string] $skuName [int] $minUnits } function New-AzureNativeTypeCustomerinsightsHubBillingInfoFormat { param ( [parameter(mandatory=$False,HelpMessage='The maximum number of units can be used. One unit is 10,000 Profiles and 100,000 Interactions.)')] [int] $maxUnits, [parameter(mandatory=$False,HelpMessage='The sku name.)')] [string] $skuName, [parameter(mandatory=$False,HelpMessage='The minimum number of units will be billed. One unit is 10,000 Profiles and 100,000 Interactions.)')] [int] $minUnits ) process { return $([HubBillingInfoFormat]$PSBoundParameters) } } function New-AzureNativeCustomerinsightsHub { [Alias('azure_native_customerinsights_hub')] param ( [parameter(mandatory=$False,HelpMessage='The name of the Hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Billing settings of the hub.)')] [HubBillingInfoFormat] $hubBillingInfo, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The bit flags for enabled hub features. Bit 0 is set to 1 indicates graph is enabled, or disabled if set to 0. Bit 1 is set to 1 indicates the hub is disabled, or enabled if set to 0.)')] [int] $tenantFeatures, [parameter(mandatory=$False,HelpMessage='Resource 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:customerinsights:Hub") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'hubName') { $resource.properties["hubName"] = $hubName } if($PSBoundParameters.Keys -icontains 'hubBillingInfo') { $resource.properties["hubBillingInfo"] = $hubBillingInfo } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'tenantFeatures') { $resource.properties["tenantFeatures"] = $tenantFeatures } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } class ConnectorMappingCompleteOperation { [ArgumentCompletions('DoNothing', 'DeleteFile', 'MoveFile')] [object] $completionOperationType [string] $destinationFolder } function New-AzureNativeTypeCustomerinsightsConnectorMappingCompleteOperation { param ( [parameter(mandatory=$False,HelpMessage='The type of completion operation.)')] $completionOperationType, [parameter(mandatory=$False,HelpMessage='The destination folder where files will be moved to once the import is done.)')] [string] $destinationFolder ) process { return $([ConnectorMappingCompleteOperation]$PSBoundParameters) } } class ConnectorMappingFormat { [string] $acceptLanguage [string] $columnDelimiter [string] $arraySeparator [ArgumentCompletions('TextFormat')] [object] $formatType [string] $quoteCharacter [string] $quoteEscapeCharacter } function New-AzureNativeTypeCustomerinsightsConnectorMappingFormat { param ( [parameter(mandatory=$False,HelpMessage='The oData language.)')] [string] $acceptLanguage, [parameter(mandatory=$False,HelpMessage='The character that signifies a break between columns.)')] [string] $columnDelimiter, [parameter(mandatory=$False,HelpMessage='Character separating array elements.)')] [string] $arraySeparator, [parameter(mandatory=$False,HelpMessage='The type mapping format.)')] $formatType, [parameter(mandatory=$False,HelpMessage='Quote character, used to indicate enquoted fields.)')] [string] $quoteCharacter, [parameter(mandatory=$False,HelpMessage='Escape character for quotes, can be the same as the quoteCharacter.)')] [string] $quoteEscapeCharacter ) process { return $([ConnectorMappingFormat]$PSBoundParameters) } } class ConnectorMappingStructure { [string] $propertyName [bool] $isEncrypted [string] $columnName [string] $customFormatSpecifier } function New-AzureNativeTypeCustomerinsightsConnectorMappingStructure { param ( [parameter(mandatory=$False,HelpMessage='The property name of the mapping entity.)')] [string] $propertyName, [parameter(mandatory=$False,HelpMessage='Indicates if the column is encrypted.)')] [bool] $isEncrypted, [parameter(mandatory=$False,HelpMessage='The column name of the import file.)')] [string] $columnName, [parameter(mandatory=$False,HelpMessage='Custom format specifier for input parsing.)')] [string] $customFormatSpecifier ) process { return $([ConnectorMappingStructure]$PSBoundParameters) } } class ConnectorMappingErrorManagement { [ArgumentCompletions('RejectAndContinue', 'StopImport', 'RejectUntilLimit')] [object] $errorManagementType [int] $errorLimit } function New-AzureNativeTypeCustomerinsightsConnectorMappingErrorManagement { param ( [parameter(mandatory=$False,HelpMessage='The type of error management to use for the mapping.)')] $errorManagementType, [parameter(mandatory=$False,HelpMessage='The error limit allowed while importing data.)')] [int] $errorLimit ) process { return $([ConnectorMappingErrorManagement]$PSBoundParameters) } } class ConnectorMappingAvailability { [ArgumentCompletions('Minute', 'Hour', 'Day', 'Week', 'Month')] [object] $frequency [int] $interval } function New-AzureNativeTypeCustomerinsightsConnectorMappingAvailability { param ( [parameter(mandatory=$False,HelpMessage='The frequency to update.)')] $frequency, [parameter(mandatory=$False,HelpMessage='The interval of the given frequency to use.)')] [int] $interval ) process { return $([ConnectorMappingAvailability]$PSBoundParameters) } } class ConnectorMappingProperties { [string] $fileFilter [string] $folderPath [ConnectorMappingCompleteOperation] $completeOperation [ConnectorMappingFormat] $format [ConnectorMappingStructure[]] $structure [ConnectorMappingErrorManagement] $errorManagement [ConnectorMappingAvailability] $availability [bool] $hasHeader } function New-AzureNativeTypeCustomerinsightsConnectorMappingProperties { param ( [parameter(mandatory=$False,HelpMessage='The file filter for the mapping.)')] [string] $fileFilter, [parameter(mandatory=$False,HelpMessage='The folder path for the mapping.)')] [string] $folderPath, [parameter(mandatory=$False,HelpMessage='The operation after import is done.)')] [ConnectorMappingCompleteOperation] $completeOperation, [parameter(mandatory=$False,HelpMessage='The format of mapping property.)')] [ConnectorMappingFormat] $format, [parameter(mandatory=$False,HelpMessage='Ingestion mapping information at property level.)')] $structure, [parameter(mandatory=$False,HelpMessage='The error management setting for the mapping.)')] [ConnectorMappingErrorManagement] $errorManagement, [parameter(mandatory=$False,HelpMessage='The availability of mapping property.)')] [ConnectorMappingAvailability] $availability, [parameter(mandatory=$False,HelpMessage='If the file contains a header or not.)')] [bool] $hasHeader ) process { return $([ConnectorMappingProperties]$PSBoundParameters) } } function New-AzureNativeCustomerinsightsConnectorMapping { [Alias('azure_native_customerinsights_connectormapping')] param ( [parameter(mandatory=$False,HelpMessage='The mapping entity name.)')] [string] $entityTypeName, [parameter(mandatory=$False,HelpMessage='The name of the connector.)')] [string] $connectorName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Type of connector.)')] [string] [ValidateSet('None', 'CRM', 'AzureBlob', 'Salesforce', 'ExchangeOnline', 'Outbound')] $connectorType, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='Display name for the connector mapping.)')] [string] $displayName, [parameter(mandatory=$False,HelpMessage='Defines which entity type the file should map to.)')] $entityType, [parameter(mandatory=$False,HelpMessage='The description of the connector mapping.)')] [string] $description, [parameter(mandatory=$False,HelpMessage='The name of the connector mapping.)')] [string] $mappingName, [parameter(mandatory=$False,HelpMessage='The properties of the mapping.)')] [ConnectorMappingProperties] $mappingProperties, [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:customerinsights:ConnectorMapping") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["connectorName"] = $connectorName $resource.properties["entityType"] = $entityType $resource.properties["entityTypeName"] = $entityTypeName $resource.properties["hubName"] = $hubName $resource.properties["mappingProperties"] = $mappingProperties $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'connectorType') { $resource.properties["connectorType"] = $connectorType } if($PSBoundParameters.Keys -icontains 'displayName') { $resource.properties["displayName"] = $displayName } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'mappingName') { $resource.properties["mappingName"] = $mappingName } $global:pulumiresources += $resource return $resource } } class PredictionMappings { [string] $grade [string] $reason [string] $score } function New-AzureNativeTypeCustomerinsightsPredictionMappings { param ( [parameter(mandatory=$False,HelpMessage='The grade of the link mapping.)')] [string] $grade, [parameter(mandatory=$False,HelpMessage='The reason of the link mapping.)')] [string] $reason, [parameter(mandatory=$False,HelpMessage='The score of the link mapping.)')] [string] $score ) process { return $([PredictionMappings]$PSBoundParameters) } } function New-AzureNativeCustomerinsightsPrediction { [Alias('azure_native_customerinsights_prediction')] param ( [parameter(mandatory=$False,HelpMessage='Score label.)')] [string] $scoreLabel, [parameter(mandatory=$False,HelpMessage='Display name of the prediction.)')] [hashtable] $displayName, [parameter(mandatory=$False,HelpMessage='Definition of the link mapping of prediction.)')] [PredictionMappings] $mappings, [parameter(mandatory=$False,HelpMessage='Relationships involved in the prediction.)')] [string[]] $involvedRelationships, [parameter(mandatory=$False,HelpMessage='Description of the prediction.)')] [hashtable] $description, [parameter(mandatory=$False,HelpMessage='Positive outcome expression.)')] [string] $positiveOutcomeExpression, [parameter(mandatory=$False,HelpMessage='Scope expression.)')] [string] $scopeExpression, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Whether do auto analyze.)')] [bool] $autoAnalyze, [parameter(mandatory=$False,HelpMessage='Name of the prediction.)')] [string] $predictionName, [parameter(mandatory=$False,HelpMessage='Negative outcome expression.)')] [string] $negativeOutcomeExpression, [parameter(mandatory=$False,HelpMessage='KPI types involved in the prediction.)')] [string[]] $involvedKpiTypes, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='Primary profile type.)')] [string] $primaryProfileType, [parameter(mandatory=$False,HelpMessage='Interaction types involved in the prediction.)')] [string[]] $involvedInteractionTypes, [parameter(mandatory=$False,HelpMessage='The prediction grades.)')] $grades, [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:customerinsights:Prediction") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["autoAnalyze"] = $autoAnalyze $resource.properties["hubName"] = $hubName $resource.properties["mappings"] = $mappings $resource.properties["negativeOutcomeExpression"] = $negativeOutcomeExpression $resource.properties["positiveOutcomeExpression"] = $positiveOutcomeExpression $resource.properties["primaryProfileType"] = $primaryProfileType $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["scopeExpression"] = $scopeExpression $resource.properties["scoreLabel"] = $scoreLabel if($PSBoundParameters.Keys -icontains 'displayName') { $resource.properties["displayName"] = $displayName } if($PSBoundParameters.Keys -icontains 'involvedRelationships') { $resource.properties["involvedRelationships"] = $involvedRelationships } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'predictionName') { $resource.properties["predictionName"] = $predictionName } if($PSBoundParameters.Keys -icontains 'involvedKpiTypes') { $resource.properties["involvedKpiTypes"] = $involvedKpiTypes } if($PSBoundParameters.Keys -icontains 'involvedInteractionTypes') { $resource.properties["involvedInteractionTypes"] = $involvedInteractionTypes } if($PSBoundParameters.Keys -icontains 'grades') { $resource.properties["grades"] = $grades } $global:pulumiresources += $resource return $resource } } function New-AzureNativeCustomerinsightsLink { [Alias('azure_native_customerinsights_link')] param ( [parameter(mandatory=$False,HelpMessage='Localized display name for the Link.)')] [hashtable] $displayName, [parameter(mandatory=$False,HelpMessage='The set of properties mappings between the source and target Types.)')] $mappings, [parameter(mandatory=$False,HelpMessage='Localized descriptions for the Link.)')] [hashtable] $description, [parameter(mandatory=$False,HelpMessage='The properties that represent the participating profile.)')] $participantPropertyReferences, [parameter(mandatory=$False,HelpMessage='The name of the link.)')] [string] $linkName, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of the source Entity Type.)')] [string] $sourceEntityTypeName, [parameter(mandatory=$False,HelpMessage='Type of source entity.)')] $sourceEntityType, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='Determines whether this link is supposed to create or delete instances if Link is NOT Reference Only.)')] $operationType, [parameter(mandatory=$False,HelpMessage='Name of the target Entity Type.)')] [string] $targetEntityTypeName, [parameter(mandatory=$False,HelpMessage='Indicating whether the link is reference only link. This flag is ignored if the Mappings are defined. If the mappings are not defined and it is set to true, links processing will not create or update profiles.)')] [bool] $referenceOnly, [parameter(mandatory=$False,HelpMessage='Type of target entity.)')] $targetEntityType, [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:customerinsights:Link") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["hubName"] = $hubName $resource.properties["participantPropertyReferences"] = $participantPropertyReferences $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["sourceEntityType"] = $sourceEntityType $resource.properties["sourceEntityTypeName"] = $sourceEntityTypeName $resource.properties["targetEntityType"] = $targetEntityType $resource.properties["targetEntityTypeName"] = $targetEntityTypeName if($PSBoundParameters.Keys -icontains 'displayName') { $resource.properties["displayName"] = $displayName } if($PSBoundParameters.Keys -icontains 'mappings') { $resource.properties["mappings"] = $mappings } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'linkName') { $resource.properties["linkName"] = $linkName } if($PSBoundParameters.Keys -icontains 'operationType') { $resource.properties["operationType"] = $operationType } if($PSBoundParameters.Keys -icontains 'referenceOnly') { $resource.properties["referenceOnly"] = $referenceOnly } $global:pulumiresources += $resource return $resource } } function New-AzureNativeCustomerinsightsRelationship { [Alias('azure_native_customerinsights_relationship')] param ( [parameter(mandatory=$False,HelpMessage='The Relationship Cardinality.)')] $cardinality, [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the Relationship.)')] [string] $relationshipName, [parameter(mandatory=$False,HelpMessage='The name of the hub.)')] [string] $hubName, [parameter(mandatory=$False,HelpMessage='Profile type.)')] [string] $profileType, [parameter(mandatory=$False,HelpMessage='The properties of the Relationship.)')] $fields, [parameter(mandatory=$False,HelpMessage='Localized display name for the Relationship.)')] [hashtable] $displayName, [parameter(mandatory=$False,HelpMessage='The expiry date time in UTC.)')] [string] $expiryDateTimeUtc, [parameter(mandatory=$False,HelpMessage='Localized descriptions for the Relationship.)')] [hashtable] $description, [parameter(mandatory=$False,HelpMessage='Optional property to be used to map fields in profile to their strong ids in related profile.)')] $lookupMappings, [parameter(mandatory=$False,HelpMessage='Related profile being referenced.)')] [string] $relatedProfileType, [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:customerinsights:Relationship") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["hubName"] = $hubName $resource.properties["profileType"] = $profileType $resource.properties["relatedProfileType"] = $relatedProfileType $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'cardinality') { $resource.properties["cardinality"] = $cardinality } if($PSBoundParameters.Keys -icontains 'relationshipName') { $resource.properties["relationshipName"] = $relationshipName } if($PSBoundParameters.Keys -icontains 'fields') { $resource.properties["fields"] = $fields } if($PSBoundParameters.Keys -icontains 'displayName') { $resource.properties["displayName"] = $displayName } if($PSBoundParameters.Keys -icontains 'expiryDateTimeUtc') { $resource.properties["expiryDateTimeUtc"] = $expiryDateTimeUtc } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'lookupMappings') { $resource.properties["lookupMappings"] = $lookupMappings } $global:pulumiresources += $resource return $resource } } |