pspulumiyaml.azurenative.aadiam.psm1
|
using module pspulumiyaml function Invoke-AzureNativeFunctionAadiamGetprivateLinkForAzureAd { param ( [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the private link policy in Azure AD.)')] [string] $policyName ) process { $arguments = @{} $arguments["policyName"] = $policyName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:aadiam:getprivateLinkForAzureAd -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAadiamGetPrivateEndpointConnection { param ( [parameter(mandatory=$False,HelpMessage='The name of the private link policy in Azure AD.)')] [string] $policyName, [parameter(mandatory=$False,HelpMessage='The PrivateEndpointConnection name.)')] [string] $privateEndpointConnectionName, [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["policyName"] = $policyName $arguments["privateEndpointConnectionName"] = $privateEndpointConnectionName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:aadiam:getPrivateEndpointConnection -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAadiamGetazureADMetric { param ( [parameter(mandatory=$False,HelpMessage='Name of the azureADMetrics instance.)')] [string] $azureADMetricsName, [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["azureADMetricsName"] = $azureADMetricsName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:aadiam:getazureADMetric -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAadiamGetDiagnosticSetting { param ( [parameter(mandatory=$False,HelpMessage='The name of the diagnostic setting.)')] [string] $name ) process { $arguments = @{} $arguments["name"] = $name $functionObject = Invoke-PulumiFunction -Name azure-native:aadiam:getDiagnosticSetting -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } class PrivateLinkServiceConnectionState { [string] $description [string] $actionsRequired [ValidateSet('Approved', 'Pending', 'Rejected', 'Disconnected')] [string] $status } function New-AzureNativeTypeAadiamPrivateLinkServiceConnectionState { param ( [parameter(mandatory=$False,HelpMessage='The reason for approval or rejection.)')] [string] $description, [parameter(mandatory=$False,HelpMessage='A message indicating if changes on the service provider require any updates on the consumer.)')] [string] $actionsRequired, [parameter(mandatory=$False,HelpMessage='Indicates whether the connection has been approved, rejected or removed by the given policy owner.)')] [string] [ValidateSet('Approved', 'Pending', 'Rejected', 'Disconnected')] $status ) process { return $([PrivateLinkServiceConnectionState]$PSBoundParameters) } } class PrivateEndpoint { [string] $id } function New-AzureNativeTypeAadiamPrivateEndpoint { param ( [parameter(mandatory=$False,HelpMessage='Full identifier of the private endpoint resource.)')] [string] $id ) process { return $([PrivateEndpoint]$PSBoundParameters) } } class TagsResource { [object] $tags } function New-AzureNativeTypeAadiamTagsResource { param ( [parameter(mandatory=$False,HelpMessage='Resource tags)')] [hashtable] $tags ) process { return $([TagsResource]$PSBoundParameters) } } function New-AzureNativeAadiamPrivateEndpointConnection { [Alias('azure_native_aadiam_privateendpointconnection')] param ( [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The PrivateEndpointConnection name.)')] [string] $privateEndpointConnectionName, [parameter(mandatory=$False,HelpMessage='Approval state of the private link connection.)')] [PrivateLinkServiceConnectionState] $privateLinkServiceConnectionState, [parameter(mandatory=$False,HelpMessage='The name of the private link policy in Azure AD.)')] [string] $policyName, [parameter(mandatory=$False,HelpMessage='Properties of the private endpoint object.)')] [PrivateEndpoint] $privateEndpoint, [parameter(mandatory=$False,HelpMessage='Updated tag information to set into the PrivateLinkConnection instance.)')] [TagsResource] $privateLinkConnectionTags, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:aadiam:PrivateEndpointConnection") $resource.properties["policyName"] = $policyName $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'privateEndpointConnectionName') { $resource.properties["privateEndpointConnectionName"] = $privateEndpointConnectionName } if($PSBoundParameters.Keys -icontains 'privateLinkServiceConnectionState') { $resource.properties["privateLinkServiceConnectionState"] = $privateLinkServiceConnectionState } if($PSBoundParameters.Keys -icontains 'privateEndpoint') { $resource.properties["privateEndpoint"] = $privateEndpoint } if($PSBoundParameters.Keys -icontains 'privateLinkConnectionTags') { $resource.properties["privateLinkConnectionTags"] = $privateLinkConnectionTags } $global:pulumiresources += $resource return $resource } } function New-AzureNativeAadiamAzureADMetric { [Alias('azure_native_aadiam_azureadmetric')] param ( [parameter(mandatory=$False,HelpMessage='Name of the azureADMetrics instance.)')] [string] $azureADMetricsName, [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The geo-location where the resource lives)')] [string] $location, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:aadiam:azureADMetric") $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'azureADMetricsName') { $resource.properties["azureADMetricsName"] = $azureADMetricsName } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } function New-AzureNativeAadiamPrivateLinkForAzureAd { [Alias('azure_native_aadiam_privatelinkforazuread')] param ( [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of the private link policy resource)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='The name of the private link policy in Azure AD.)')] [string] $policyName, [parameter(mandatory=$False,HelpMessage='Flag indicating whether all tenants are allowed)')] [bool] $allTenants, [parameter(mandatory=$False,HelpMessage='Guid of the owner tenant)')] [string] $ownerTenantId, [parameter(mandatory=$False,HelpMessage='The list of tenantIds.)')] [string[]] $tenants, [parameter(mandatory=$False,HelpMessage='Subscription Identifier)')] [string] $subscriptionId, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Name of this resource.)')] [string] $name, [parameter(mandatory=$False,HelpMessage='Name of the resource group)')] [string] $resourceGroup, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:aadiam:privateLinkForAzureAd") $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'resourceName') { $resource.properties["resourceName"] = $resourceName } if($PSBoundParameters.Keys -icontains 'policyName') { $resource.properties["policyName"] = $policyName } if($PSBoundParameters.Keys -icontains 'allTenants') { $resource.properties["allTenants"] = $allTenants } if($PSBoundParameters.Keys -icontains 'ownerTenantId') { $resource.properties["ownerTenantId"] = $ownerTenantId } if($PSBoundParameters.Keys -icontains 'tenants') { $resource.properties["tenants"] = $tenants } if($PSBoundParameters.Keys -icontains 'subscriptionId') { $resource.properties["subscriptionId"] = $subscriptionId } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'name') { $resource.properties["name"] = $name } if($PSBoundParameters.Keys -icontains 'resourceGroup') { $resource.properties["resourceGroup"] = $resourceGroup } $global:pulumiresources += $resource return $resource } } function New-AzureNativeAadiamDiagnosticSetting { [Alias('azure_native_aadiam_diagnosticsetting')] param ( [parameter(mandatory=$False,HelpMessage='The name of the diagnostic setting.)')] [string] $name, [parameter(mandatory=$False,HelpMessage='The list of logs settings.)')] $logs, [parameter(mandatory=$False,HelpMessage='The resource Id for the event hub authorization rule.)')] [string] $eventHubAuthorizationRuleId, [parameter(mandatory=$False,HelpMessage='The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2)')] [string] $workspaceId, [parameter(mandatory=$False,HelpMessage='The name of the event hub. If none is specified, the default event hub will be selected.)')] [string] $eventHubName, [parameter(mandatory=$False,HelpMessage='The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.)')] [string] $serviceBusRuleId, [parameter(mandatory=$False,HelpMessage='The resource ID of the storage account to which you would like to send Diagnostic Logs.)')] [string] $storageAccountId, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:aadiam:DiagnosticSetting") if($PSBoundParameters.Keys -icontains 'name') { $resource.properties["name"] = $name } if($PSBoundParameters.Keys -icontains 'logs') { $resource.properties["logs"] = $logs } if($PSBoundParameters.Keys -icontains 'eventHubAuthorizationRuleId') { $resource.properties["eventHubAuthorizationRuleId"] = $eventHubAuthorizationRuleId } if($PSBoundParameters.Keys -icontains 'workspaceId') { $resource.properties["workspaceId"] = $workspaceId } if($PSBoundParameters.Keys -icontains 'eventHubName') { $resource.properties["eventHubName"] = $eventHubName } if($PSBoundParameters.Keys -icontains 'serviceBusRuleId') { $resource.properties["serviceBusRuleId"] = $serviceBusRuleId } if($PSBoundParameters.Keys -icontains 'storageAccountId') { $resource.properties["storageAccountId"] = $storageAccountId } $global:pulumiresources += $resource return $resource } } |