pspulumiyaml.azurenative.delegatednetwork.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionDelegatednetworkGetDelegatedSubnetServiceDetails { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.)')] [string] $resourceName ) process { $arguments = @{} $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName $functionObject = Invoke-PulumiFunction -Name azure-native:delegatednetwork:getDelegatedSubnetServiceDetails -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionDelegatednetworkGetControllerDetails { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.)')] [string] $resourceName ) process { $arguments = @{} $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName $functionObject = Invoke-PulumiFunction -Name azure-native:delegatednetwork:getControllerDetails -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionDelegatednetworkGetOrchestratorInstanceServiceDetails { param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.)')] [string] $resourceName ) process { $arguments = @{} $arguments["resourceGroupName"] = $resourceGroupName $arguments["resourceName"] = $resourceName $functionObject = Invoke-PulumiFunction -Name azure-native:delegatednetwork:getOrchestratorInstanceServiceDetails -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeDelegatednetworkControllerDetails { [Alias('azure_native_delegatednetwork_controllerdetails')] param ( [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='The resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Location of the resource.)')] [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:delegatednetwork:ControllerDetails") $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'resourceName') { $resource.properties["resourceName"] = $resourceName } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } class SubnetDetails { [string] $id } function New-AzureNativeTypeDelegatednetworkSubnetDetails { param ( [parameter(mandatory=$False,HelpMessage='subnet arm resource id)')] [string] $id ) process { return $([SubnetDetails]$PSBoundParameters) } } class ControllerDetails { [string] $id } function New-AzureNativeTypeDelegatednetworkControllerDetails { param ( [parameter(mandatory=$False,HelpMessage='controller arm resource id)')] [string] $id ) process { return $([ControllerDetails]$PSBoundParameters) } } function New-AzureNativeDelegatednetworkDelegatedSubnetServiceDetails { [Alias('azure_native_delegatednetwork_delegatedsubnetservicedetails')] param ( [parameter(mandatory=$False,HelpMessage='The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='subnet details)')] [SubnetDetails] $subnetDetails, [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Properties of the controller.)')] [ControllerDetails] $controllerDetails, [parameter(mandatory=$False,HelpMessage='Location of the resource.)')] [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:delegatednetwork:DelegatedSubnetServiceDetails") $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'resourceName') { $resource.properties["resourceName"] = $resourceName } if($PSBoundParameters.Keys -icontains 'subnetDetails') { $resource.properties["subnetDetails"] = $subnetDetails } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'controllerDetails') { $resource.properties["controllerDetails"] = $controllerDetails } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } class OrchestratorIdentity { [ValidateSet('SystemAssigned', 'None')] [object] $type } function New-AzureNativeTypeDelegatednetworkOrchestratorIdentity { param ( [parameter(mandatory=$False,HelpMessage='The type of identity used for orchestrator cluster. Type ''SystemAssigned'' will use an implicitly created identity orchestrator clusters)')] $type ) process { return $([OrchestratorIdentity]$PSBoundParameters) } } function New-AzureNativeDelegatednetworkOrchestratorInstanceServiceDetails { [Alias('azure_native_delegatednetwork_orchestratorinstanceservicedetails')] param ( [parameter(mandatory=$False,HelpMessage='private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified)')] [string] $privateLinkResourceId, [parameter(mandatory=$False,HelpMessage='Location of the resource.)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.)')] [string] $resourceName, [parameter(mandatory=$False,HelpMessage='K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified)')] [string] $apiServerEndpoint, [parameter(mandatory=$False,HelpMessage='Properties of the controller.)')] [ControllerDetails] $controllerDetails, [parameter(mandatory=$False,HelpMessage='The kind of workbook. Choices are user and shared.)')] [string] [ValidateSet('Kubernetes')] $kind, [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='TenantID of server App ID)')] [string] $orchestratorTenantId, [parameter(mandatory=$False,HelpMessage='The resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='RootCA certificate of kubernetes cluster base64 encoded)')] [string] $clusterRootCA, [parameter(mandatory=$False,HelpMessage='AAD ID used with apiserver)')] [string] $orchestratorAppId, [parameter(mandatory=$False,HelpMessage='The identity of the orchestrator)')] [OrchestratorIdentity] $identity, [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:delegatednetwork:OrchestratorInstanceServiceDetails") $resource.properties["controllerDetails"] = $controllerDetails $resource.properties["kind"] = $kind $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'privateLinkResourceId') { $resource.properties["privateLinkResourceId"] = $privateLinkResourceId } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'resourceName') { $resource.properties["resourceName"] = $resourceName } if($PSBoundParameters.Keys -icontains 'apiServerEndpoint') { $resource.properties["apiServerEndpoint"] = $apiServerEndpoint } if($PSBoundParameters.Keys -icontains 'orchestratorTenantId') { $resource.properties["orchestratorTenantId"] = $orchestratorTenantId } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'clusterRootCA') { $resource.properties["clusterRootCA"] = $clusterRootCA } if($PSBoundParameters.Keys -icontains 'orchestratorAppId') { $resource.properties["orchestratorAppId"] = $orchestratorAppId } if($PSBoundParameters.Keys -icontains 'identity') { $resource.properties["identity"] = $identity } $global:pulumiresources += $resource return $resource } } |