pspulumiyaml.azurenative.managedidentity.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionManagedidentityGetFederatedIdentityCredential { param ( [parameter(mandatory=$False,HelpMessage='The name of the federated identity credential resource.)')] [string] $federatedIdentityCredentialResourceName, [parameter(mandatory=$False,HelpMessage='The name of the identity resource.)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='The name of the Resource Group to which the identity belongs.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["federatedIdentityCredentialResourceName"] = $federatedIdentityCredentialResourceName $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName $functionObject = Invoke-PulumiFunction -Name azure-native:managedidentity:getFederatedIdentityCredential -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionManagedidentityGetUserAssignedIdentity { param ( [parameter(mandatory=$False,HelpMessage='The name of the Resource Group to which the identity belongs.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the identity resource.)')] [string] $resourceName ) process { $arguments = @{} $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName $functionObject = Invoke-PulumiFunction -Name azure-native:managedidentity:getUserAssignedIdentity -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionManagedidentityListUserAssignedIdentityAssociatedResources { param ( [parameter(mandatory=$False,HelpMessage='OData filter expression to apply to the query.)')] [string] $filter, [parameter(mandatory=$False,HelpMessage='The name of the identity resource.)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.)')] [string] $skiptoken, [parameter(mandatory=$False,HelpMessage='The name of the Resource Group to which the identity belongs.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Number of records to return.)')] [int] $top, [parameter(mandatory=$False,HelpMessage='Number of records to skip.)')] [int] $skip, [parameter(mandatory=$False,HelpMessage='OData orderBy expression to apply to the query.)')] [string] $orderby ) process { $arguments = @{} $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName if($PSBoundParameters.Keys -icontains 'filter') { $arguments["filter"] = $filter } if($PSBoundParameters.Keys -icontains 'skiptoken') { $arguments["skiptoken"] = $skiptoken } if($PSBoundParameters.Keys -icontains 'top') { $arguments["top"] = $top } if($PSBoundParameters.Keys -icontains 'skip') { $arguments["skip"] = $skip } if($PSBoundParameters.Keys -icontains 'orderby') { $arguments["orderby"] = $orderby } $functionObject = Invoke-PulumiFunction -Name azure-native:managedidentity:listUserAssignedIdentityAssociatedResources -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeManagedidentityFederatedIdentityCredential { [Alias('azure_native_managedidentity_federatedidentitycredential')] param ( [parameter(mandatory=$False,HelpMessage='The URL of the issuer to be trusted.)')] [string] $issuer, [parameter(mandatory=$False,HelpMessage='The name of the identity resource.)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='The name of the federated identity credential resource.)')] [string] $federatedIdentityCredentialResourceName, [parameter(mandatory=$False,HelpMessage='The name of the Resource Group to which the identity belongs.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The list of audiences that can appear in the issued token.)')] [string[]] $audiences, [parameter(mandatory=$False,HelpMessage='The identifier of the external identity.)')] [string] $subject, [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:managedidentity:FederatedIdentityCredential") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["audiences"] = $audiences $resource.properties["issuer"] = $issuer $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["resourceName"] = $resourceName $resource.properties["subject"] = $subject if($PSBoundParameters.Keys -icontains 'federatedIdentityCredentialResourceName') { $resource.properties["federatedIdentityCredentialResourceName"] = $federatedIdentityCredentialResourceName } $global:pulumiresources += $resource return $resource } } function New-AzureNativeManagedidentityUserAssignedIdentity { [Alias('azure_native_managedidentity_userassignedidentity')] param ( [parameter(mandatory=$False,HelpMessage='The geo-location where the resource lives)')] [string] $location, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The name of the identity resource.)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='The name of the Resource Group to which the identity belongs.)')] [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:managedidentity:UserAssignedIdentity") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'resourceName') { $resource.properties["resourceName"] = $resourceName } $global:pulumiresources += $resource return $resource } } |