### Run a Node.js Example Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CONTRIBUTING.md Install dependencies, navigate to an example directory, link the local provider, and deploy using Pulumi. Ensure you have Node.js and Yarn installed. ```bash make install cd ./examples/simple yarn link @pulumi/azure-native pulumi up ``` -------------------------------- ### Install pulumi-azure-native with go get Source: https://github.com/pulumi/pulumi-azure-native/blob/master/README.md Install the Azure Native provider for use with Go by fetching the latest version of the library. ```bash go get github.com/pulumi/pulumi-azure-native/sdk ``` -------------------------------- ### Install SDKs Locally Commands Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Installs Node.js and .NET SDKs locally for testing purposes. Use specific commands to install individual SDKs. ```bash make install_sdks ``` ```bash make install_nodejs_sdk ``` ```bash make install_dotnet_sdk ``` -------------------------------- ### Link Node.js SDK for Local Examples Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Links the Node.js SDK locally within an example directory to test local changes. Requires navigating to the example directory and using yarn link. ```bash cd examples/simple yarn link @pulumi/azure-native pulumi up ``` -------------------------------- ### Generate Resource Versions Markdown Table Source: https://github.com/pulumi/pulumi-azure-native/blob/master/versions/tools/README.md Execute this command to compare two major provider versions and output a Markdown table detailing resource versions, similar to upgrade guides. Requires Go to be installed. ```bash go run compare_major_versions.go -olderMajorVersion 2 -out table ``` -------------------------------- ### Install Pulumi.AzureNative with dotnet add package Source: https://github.com/pulumi/pulumi-azure-native/blob/master/README.md Install the Azure Native provider for use with .NET using the dotnet CLI. ```bash dotnet add package Pulumi.AzureNative ``` -------------------------------- ### Install pulumi-azure-native with pip Source: https://github.com/pulumi/pulumi-azure-native/blob/master/README.md Install the Azure Native provider for use with Python using pip. ```bash pip install pulumi_azure_native ``` -------------------------------- ### Create Storage Account (azure-native) Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md Example of creating a storage account using the current azure-native provider syntax. ```typescript new azure_nextgen.storage.StorageAccount("sa", ...); ``` -------------------------------- ### Install @pulumi/azure-native with yarn Source: https://github.com/pulumi/pulumi-azure-native/blob/master/README.md Install the Azure Native provider for use with JavaScript or TypeScript in Node.js using yarn. ```bash yarn add @pulumi/azure-native ``` -------------------------------- ### Install @pulumi/azure-native with npm Source: https://github.com/pulumi/pulumi-azure-native/blob/master/README.md Install the Azure Native provider for use with JavaScript or TypeScript in Node.js using npm. ```bash npm install @pulumi/azure-native ``` -------------------------------- ### Build Pulumi Azure Native Provider Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CONTRIBUTING.md Run the make command to install Go modules, generate SDKs, and build the provider. Note that Go workspaces are ignored when building with make. ```bash make ``` -------------------------------- ### Create Storage Account (AzureNextGen) Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md Example of creating a storage account using the older AzureNextGen provider syntax. ```typescript new Pulumi.AzureNextGen.Storage.StorageAccount("sa", ...); ``` -------------------------------- ### Generate Resource Changes JSON Source: https://github.com/pulumi/pulumi-azure-native/blob/master/versions/tools/README.md Run this command to compare two major provider versions and output a JSON structure of resource changes. Ensure you have Go installed and the script is in your PATH. ```bash go run compare_major_versions.go -olderMajorVersion 2 -out changes ``` -------------------------------- ### Generate Docs Schema Command Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Generates a schema specifically for documentation purposes, including examples. ```bash make generate_docs ``` -------------------------------- ### Restore NPM Dependencies Source: https://github.com/pulumi/pulumi-azure-native/blob/master/examples/hdinsight-spark/README.md Install the necessary Node.js dependencies for your Pulumi project. This command ensures all required packages are available. ```bash npm install ``` -------------------------------- ### Blob Auto-naming Example Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md Illustrates how child resources like Blobs are auto-named by copying the logical name to the physical name, without randomization. ```typescript const blob = new storage.Blob("wwwroot", { resourceGroupName: resourceGroup.name, accountName: storageAccount.name, containerName: storageContainer.name, source: new pulumi.asset.FileArchive("wwwroot"), }); // blob name is simply "wwwroot" ``` -------------------------------- ### Resource Group Auto-naming Example Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md Demonstrates how Pulumi automatically names top-level resources like Resource Groups by appending a random suffix. ```typescript const resourceGroup = new resources.ResourceGroup("rg"); // the actual resource would be named e.g. "rg8a43bc22" ``` -------------------------------- ### Generate SDKs and Registry Docs Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CONTRIBUTING.md Run make targets to regenerate SDKs and registry documentation after adding or modifying resource documentation. ```bash make generate generate_docs ``` -------------------------------- ### Test Migration with Two Provider Binaries Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md This thorough method involves checking out and building the provider at an earlier version, deploying resources, then checking out and building at a newer version, and finally running a refresh with the new provider. This directly tests the provider's behavior across different versions. ```bash git checkout v3.50.0 make provider cp bin/pulumi-resource-azure-native ~/provider-old ``` ```bash PATH="$HOME:$PATH" pulumi up ``` ```bash git checkout v3.100.0 make provider cp bin/pulumi-resource-azure-native ~/provider-new ``` ```bash PATH="$HOME:$PATH" pulumi refresh --yes ``` -------------------------------- ### Build Provider Binary Command Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Builds only the Pulumi Azure Native provider binary. ```bash make provider ``` -------------------------------- ### Generate All SDKs Command Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Generates all language-specific SDKs for the Pulumi Azure Native provider. ```bash make generate ``` -------------------------------- ### Get Managed Identity Details Source: https://github.com/pulumi/pulumi-azure-native/blob/master/examples/roleassignments/README.md Retrieve the resource ID and principal ID of the created managed identity. These values are required for configuring the Pulumi stack for cross-tenant assignments. ```bash az identity show \ --name cross-tenant-mi \ --resource-group \ --subscription \ --query '{resourceId:id, principalId:principalId}' \ --output json ``` -------------------------------- ### Input File Configuration for package-2025-05-02-preview Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/deploymentsafeguards/readme.md Specifies the input OpenAPI file for the 'package-2025-05-02-preview' tag. This configuration is applied when the command line includes '--tag=package-2025-05-02-preview'. ```yaml $(tag) == 'package-2025-05-preview' input-file: - preview/2025-05-02-preview/deploymentsafeguards.json ``` -------------------------------- ### Input File Configuration for package-2025-04-02-preview Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/deploymentsafeguards/readme.md Specifies the input OpenAPI file for the 'package-2025-04-02-preview' tag. This configuration is applied when the command line includes '--tag=package-2025-04-02-preview'. ```yaml $(tag) == 'package-2025-04-preview' input-file: - preview/2025-04-02-preview/deploymentsafeguards.json ``` -------------------------------- ### Build Individual SDKs Commands Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Commands to build specific language SDKs for the Pulumi Azure Native provider. ```bash make build_nodejs ``` ```bash make build_python ``` ```bash make build_dotnet ``` ```bash make build_go ``` ```bash make build_java ``` -------------------------------- ### Run SDK Integration Tests Commands Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Executes integration tests for the Pulumi Azure Native SDKs across different languages. Requires Azure credentials. ```bash make test ``` ```bash make test_nodejs ``` ```bash make test_python ``` ```bash make test_dotnet ``` ```bash make test_go ``` -------------------------------- ### App Platform Resources Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md Manage storage, buildpack bindings, configuration services, and gateways. ```APIDOC ## POST /api/appplatform/v20220501preview/storages ### Description Creates or updates storage resources. ### Method POST ### Endpoint /api/appplatform/v20220501preview/storages ## POST /api/appplatform/v20220501preview/buildpackBindings ### Description Creates or updates buildpack bindings. ### Method POST ### Endpoint /api/appplatform/v20220501preview/buildpackBindings ## POST /api/appplatform/v20220401/configurationServices ### Description Creates or updates a configuration service. ### Method POST ### Endpoint /api/appplatform/v20220401/configurationServices ## POST /api/appplatform/v20220501preview/gateways ### Description Creates or updates a gateway. ### Method POST ### Endpoint /api/appplatform/v20220501preview/gateways ## POST /api/appplatform/v20220501preview/serviceRegistries ### Description Creates or updates a service registry. ### Method POST ### Endpoint /api/appplatform/v20220501preview/serviceRegistries ## POST /api/appplatform/v20220501preview/gatewayRouteConfigs ### Description Creates or updates a gateway route configuration. ### Method POST ### Endpoint /api/appplatform/v20220501preview/gatewayRouteConfigs ## POST /api/appplatform/v20220401/certificates ### Description Creates or updates a certificate. ### Method POST ### Endpoint /api/appplatform/v20220401/certificates ``` -------------------------------- ### Run Test to Record GRPC Interactions (v2.90.0) Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/provider/test-programs/upgrade-aks-api-version/README.md Executes the test to record GRPC interactions with v2.90.0. This command deploys real Azure resources and requires Azure credentials to be configured. ```bash cd provider/pkg/provider # Ensure you have Azure credentials configured export ARM_SUBSCRIPTION_ID="..." export ARM_CLIENT_ID="..." export ARM_CLIENT_SECRET="..." export ARM_TENANT_ID="..." # Run test to record interactions # This will deploy real Azure resources with v2.90.0 and record GRPC calls go test -v -run TestUpgradeAksApiVersion_2_90_0 -timeout 30m # The recording will be saved to: testdata/recorded/TestProviderUpgrade/upgrade-aks-api-version/2.90.0/grpc.json ``` -------------------------------- ### Input File Configuration for package-2025-07-01 Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/deploymentsafeguards/readme.md Specifies the input OpenAPI file for the 'package-2025-07-01' tag. This configuration is applied when the command line includes '--tag=package-2025-07-01'. ```yaml $(tag) == 'package-2025-07-01' input-file: - stable/2025-07-01/deploymentsafeguards.json ``` -------------------------------- ### Configure Input File for package-2022-07-preview Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md Specifies the input JSON file for code generation when the 'package-2022-07-preview' tag is active. This is used for preview versions of Azure APIs. ```yaml $(tag) == 'package-2022-07-preview' input-file: - preview/2022-07-02-preview/fleets.json ``` -------------------------------- ### Run Pulumi Azure Native Automation CLI Source: https://github.com/pulumi/pulumi-azure-native/blob/master/automation/README.md Navigate to the automation directory and execute the Go program to run the CLI tools. ```bash cd automation go run . ``` -------------------------------- ### Input File Configuration for package-2025-04-01 Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/deploymentsafeguards/readme.md Specifies the input OpenAPI file for the 'package-2025-04-01' tag. This configuration is applied when the command line includes '--tag=package-2025-04-01'. ```yaml $(tag) == 'package-2025-04-01' input-file: - stable/2025-04-01/deploymentsafeguards.json ``` -------------------------------- ### Deploy Changes with Pulumi Source: https://github.com/pulumi/pulumi-azure-native/blob/master/examples/hdinsight-spark/README.md Run this command to preview and apply the infrastructure changes defined in your Pulumi program. It will provision or update resources in Azure. ```bash pulumi up ``` -------------------------------- ### Initialize Pulumi Stack Source: https://github.com/pulumi/pulumi-azure-native/blob/master/examples/hdinsight-spark/README.md Use this command to create a new stack for your Pulumi project. A stack represents an isolated instance of your application. ```bash pulumi stack init dev ``` -------------------------------- ### Run Test in Replay Mode Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/provider/test-programs/upgrade-aks-api-version/README.md Executes the test using recorded GRPC interactions. This mode is fast and does not require live Azure credentials. ```bash # Run test in replay mode (no Azure connection needed) go test -v -run TestUpgradeAksApiVersion_2_90_0 # Should complete in < 1 second using recorded GRPC interactions ``` -------------------------------- ### App Configuration Resources Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md Manage configuration stores. ```APIDOC ## POST /api/appconfiguration/v20220501/configurationStores ### Description Creates or updates a configuration store. ### Method POST ### Endpoint /api/appconfiguration/v20220501/configurationStores ``` -------------------------------- ### Run All Provider Tests Command Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Executes all provider tests, including integration tests. Requires setting the PROVIDER_TEST_TAGS to 'all'. ```bash make test_provider PROVIDER_TEST_TAGS=all ``` -------------------------------- ### Configure Input File for package-2022-06-preview Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md Specifies the input JSON file for code generation when the 'package-2022-06-preview' tag is active. This is used for preview versions of Azure APIs. ```yaml $(tag) == 'package-2022-06-preview' input-file: - preview/2022-06-02-preview/fleets.json ``` -------------------------------- ### Run Provider Unit Tests Command Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Executes unit tests for the Pulumi Azure Native provider. By default, it runs only unit tests. ```bash make test_provider ``` ```bash make test_provider PROVIDER_TEST_TAGS=unit ``` -------------------------------- ### Configure SDK Generation Repositories Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md This YAML configuration specifies the repositories for which SDKs should be generated. It includes a list of target repositories and a specific after_scripts command for the Ruby SDK. ```yaml swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-net - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_container_service'] - repo: azure-resource-manager-schemas - repo: azure-powershell ``` -------------------------------- ### Build Codegen Tool Command Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Builds only the code generation tool used for creating the provider's schema and SDKs. ```bash make codegen ``` -------------------------------- ### Swagger to SDK Repository Configuration Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/deploymentsafeguards/readme.md Lists the repositories where the SDK should be generated. This configuration is used by the 'swagger-to-sdk' tool. ```yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-net - repo: azure-sdk-for-node - repo: azure-resource-manager-schemas - repo: azure-powershell ``` -------------------------------- ### Configure Java SDK Generation for 2022-09-preview Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.java.md Use these settings when generating the Java SDK for the 2022-09-preview version of the Azure Container Service Fleet API. Specify the correct namespace and output folder for your SDK clone. ```yaml java: namespace: com.microsoft.azure.management.containerservicefleet.v2022_09_02_preview output-folder: $(azure-libraries-for-java-folder)/sdk/containerservice/mgmt-v2022_09_02_preview regenerate-manager: true generate-interface: true ``` -------------------------------- ### Automanage Resources Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md Manage configuration profiles and assignments. ```APIDOC ## POST /api/automanage/v20220504/configurationProfileHCIAssignments ### Description Creates or updates a Configuration Profile HCI Assignment. ### Method POST ### Endpoint /api/automanage/v20220504/configurationProfileHCIAssignments ## POST /api/automanage/v20220504/configurationProfiles ### Description Creates or updates a Configuration Profile. ### Method POST ### Endpoint /api/automanage/v20220504/configurationProfiles ## POST /api/automanage/v20220504/configurationProfileAssignments ### Description Creates or updates a Configuration Profile Assignment. ### Method POST ### Endpoint /api/automanage/v20220504/configurationProfileAssignments ``` -------------------------------- ### Configure Java SDK Generation for 2022-06-preview Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.java.md Configure the Java SDK generation for the 2022-06-preview version of the Azure Container Service Fleet API using these parameters. Set the appropriate namespace and output directory within your local Azure SDK for Java repository. ```yaml java: namespace: com.microsoft.azure.management.containerservicefleet.v2022_06_02_preview output-folder: $(azure-libraries-for-java-folder)/sdk/containerservice/mgmt-v2022_06_02_preview regenerate-manager: true generate-interface: true ``` -------------------------------- ### Simulate Old API Version with State Manipulation Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md This method involves exporting the current state, modifying it to simulate an older API version, and then importing it back. This allows testing the refresh behavior against a state file that reflects a previous API version. ```bash pulumi up ``` ```bash pulumi stack export > state.json jq '(.deployment.resources[] | select(.type == "azure-native:storage:StorageAccount")) |= (.outputs.azureApiVersion = "2023-01-01")' state.json > state-old.json ``` ```bash pulumi stack import --file state-old.json ``` ```bash pulumi refresh --yes ``` -------------------------------- ### NetApp Resources Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md Manage NetApp volumes and volume quota rules. ```APIDOC ## POST /api/netapp/v20220101/volumes ### Description Creates or updates a NetApp volume. ### Method POST ### Endpoint /api/netapp/v20220101/volumes ## POST /api/netapp/VolumeQuotaRules ### Description Creates or updates a NetApp volume quota rule. ### Method POST ### Endpoint /api/netapp/VolumeQuotaRules ``` -------------------------------- ### Clone Repository with Submodules Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CONTRIBUTING.md Clone the Pulumi Azure Native repository, ensuring all submodules are included. ```shell git clone --recurse-submodules https://github.com/pulumi/pulumi-azure-native ``` -------------------------------- ### Login to Azure CLI Source: https://github.com/pulumi/pulumi-azure-native/blob/master/examples/hdinsight-spark/README.md Authenticate with Azure using the Azure CLI. This step is necessary for Pulumi to manage Azure resources. You will be prompted during deployment if this is not done beforehand. ```bash az login ``` -------------------------------- ### AutoRest Configuration - Tag package-2025-09-02-preview Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/nodecustomization/readme.md Settings specific to the 'package-2025-09-02-preview' tag. This configuration is applied when the tag is specified on the command line. ```yaml $(tag) == 'package-2025-09-02-preview' input-file: - preview/2025-09-02-preview/nodecustomization.json ``` -------------------------------- ### Configure Java SDK Generation for 2022-07-preview Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.java.md These settings are for generating the Java SDK for the 2022-07-preview version of the Azure Container Service Fleet API. Ensure the namespace and output folder are correctly set within your Azure SDK for Java directory. ```yaml java: namespace: com.microsoft.azure.management.containerservicefleet.v2022_07_02_preview output-folder: $(azure-libraries-for-java-folder)/sdk/containerservice/mgmt-v2022_07_02_preview regenerate-manager: true generate-interface: true ``` -------------------------------- ### AutoRest Configuration - Tag package-2025-08-02-preview Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/nodecustomization/readme.md Settings specific to the 'package-2025-08-02-preview' tag. This configuration is applied when the tag is specified on the command line. ```yaml $(tag) == 'package-2025-08-02-preview' input-file: - preview/2025-08-02-preview/nodecustomization.json ``` -------------------------------- ### Run Specific Test by Name Command Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Executes a specific integration or unit test by its name, using the TEST_NAME variable. ```bash make test TEST_NAME=TestAccResourceGroup ``` -------------------------------- ### Configure Hybrid Profile for 2020-09-01 Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md This configuration uses the `--tag=profile-hybrid-2020-09-01` flag to select resources from the hybrid profile. It specifies input files for Managed Clusters, Location, and Container Service from different stable versions. ```yaml $(tag) == 'profile-hybrid-2020-09-01' input-file: - stable/2020-11-01/managedClusters.json - stable/2019-04-01/location.json - stable/2017-07-01/containerService.json ``` -------------------------------- ### Specify 2018-08-preview API for Managed Clusters Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md This configuration applies when the `--tag=package-2018-08-preview-only` flag is used. It specifies the input file for the 2018-08-01-preview version of Managed Clusters. ```yaml $(tag) == 'package-2018-08-preview-only' input-file: - preview/2018-08-01-preview/managedClusters.json ``` -------------------------------- ### Basic Autorest Configuration Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/deploymentsafeguards/readme.md Sets the OpenAPI type to 'arm' and specifies the tag for the package version. This is a global setting for the ContainerServices API. ```yaml openapi-type: arm tag: package-2025-07-01 ``` -------------------------------- ### Pulumi.yaml for v3 Program Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/provider/test-programs/upgrade-aks-api-version/README.md Defines the Pulumi project for the v3 upgrade, using unversioned resource types with an alias. ```yaml name: upgrade-aks-api-version-v3 runtime: go backend: url: file://../../ description: AKS API Version Upgrade Test (v3) ``` -------------------------------- ### Device Update Resources Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md Manage device update instances. ```APIDOC ## POST /api/deviceupdate/v20220401preview/instances ### Description Creates or updates a device update instance. ### Method POST ### Endpoint /api/deviceupdate/v20220401preview/instances ``` -------------------------------- ### New Resources and Functions in v1.67.0 Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md This section lists new resources and functions added in version 1.67.0 of the Pulumi Azure Native provider. ```APIDOC ## azure-native:authorization:ScopeAccessReviewHistoryDefinitionById ### Description Provides access to the specified scope access review history definition by ID. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/scopeAccessReviewHistoryDefinitions/{historyDefinitionId} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **historyDefinitionId** (string) - Required - The ID of the history definition. ### Response #### Success Response (200) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **properties** (object) - Properties of the scope access review history definition. ``` ```APIDOC ## azure-native:authorization:getScopeAccessReviewHistoryDefinitionById ### Description Gets the specified scope access review history definition by ID. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/scopeAccessReviewHistoryDefinitions/{historyDefinitionId} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **historyDefinitionId** (string) - Required - The ID of the history definition. ### Response #### Success Response (200) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **properties** (object) - Properties of the scope access review history definition. ``` ```APIDOC ## azure-native:databricks:AccessConnector ### Description Represents an Azure Databricks access connector. ### Method PUT ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/accessConnectors/{connectorName} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **connectorName** (string) - Required - The name of the Databricks access connector. #### Request Body - **location** (string) - Required - The geo-location where the resource lives. - **tags** (object) - Required - Resource tags. ### Response #### Success Response (200 or 201) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **location** (string) - The geo-location where the resource lives. - **tags** (object) - Resource tags. ``` ```APIDOC ## azure-native:databricks:getAccessConnector ### Description Gets the specified Azure Databricks access connector. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/accessConnectors/{connectorName} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **connectorName** (string) - Required - The name of the Databricks access connector. ### Response #### Success Response (200) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **location** (string) - The geo-location where the resource lives. - **tags** (object) - Resource tags. ``` ```APIDOC ## azure-native:desktopvirtualization:ScalingPlanPooledSchedule ### Description Represents a Scaling Plan associated with a resource group. ### Method PUT ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/schedules/{scalingPlanScheduleName} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **scalingPlanName** (string) - Required - The name of the scaling plan. - **scalingPlanScheduleName** (string) - Required - The name of the scaling plan schedule. #### Request Body - **daysOfWeek** (array) - Required - Set of days of the week on which the schedule is active. - **hour** (integer) - Required - The hour of the day the schedule is active. - **minute** (integer) - Required - The minute of the hour the schedule is active. - **rampDownMinutes** (integer) - Optional - Minutes to be used for ramp down period. - **rampUpMinutes** (integer) - Optional - Minutes to be used for ramp up period. - **startTime** (string) - Required - The time period for the scaling plan to be active. ### Response #### Success Response (200 or 201) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **daysOfWeek** (array) - Set of days of the week on which the schedule is active. - **hour** (integer) - The hour of the day the schedule is active. - **minute** (integer) - The minute of the hour the schedule is active. - **rampDownMinutes** (integer) - Minutes to be used for ramp down period. - **rampUpMinutes** (integer) - Minutes to be used for ramp up period. - **startTime** (string) - The time period for the scaling plan to be active. ``` ```APIDOC ## azure-native:desktopvirtualization:getScalingPlanPooledSchedule ### Description Gets a Scaling Plan associated with a resource group. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/schedules/{scalingPlanScheduleName} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **scalingPlanName** (string) - Required - The name of the scaling plan. - **scalingPlanScheduleName** (string) - Required - The name of the scaling plan schedule. ### Response #### Success Response (200) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **daysOfWeek** (array) - Set of days of the week on which the schedule is active. - **hour** (integer) - The hour of the day the schedule is active. - **minute** (integer) - The minute of the hour the schedule is active. - **rampDownMinutes** (integer) - Minutes to be used for ramp down period. - **rampUpMinutes** (integer) - Minutes to be used for ramp up period. - **startTime** (string) - The time period for the scaling plan to be active. ``` ```APIDOC ## azure-native:security:Application ### Description Represents a security application. ### Method PUT ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/applications/{applicationId} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **applicationId** (string) - Required - The application ID. #### Request Body - **location** (string) - Optional - The geo-location where the resource lives. - **tags** (object) - Optional - Resource tags. - **applicationProperties** (object) - Optional - Properties of the application. ### Response #### Success Response (200 or 201) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **location** (string) - The geo-location where the resource lives. - **tags** (object) - Resource tags. - **applicationProperties** (object) - Properties of the application. ``` ```APIDOC ## azure-native:security:SecurityConnectorApplication ### Description Represents a security connector application. ### Method PUT ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/applications/{applicationId} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **securityConnectorName** (string) - Required - The name of the security connector. - **applicationId** (string) - Required - The application ID. #### Request Body - **location** (string) - Optional - The geo-location where the resource lives. - **tags** (object) - Optional - Resource tags. - **applicationProperties** (object) - Optional - Properties of the application. ### Response #### Success Response (200 or 201) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **location** (string) - The geo-location where the resource lives. - **tags** (object) - Resource tags. - **applicationProperties** (object) - Properties of the application. ``` ```APIDOC ## azure-native:security:getApplication ### Description Gets the specified security application. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/applications/{applicationId} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **applicationId** (string) - Required - The application ID. ### Response #### Success Response (200) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **location** (string) - The geo-location where the resource lives. - **tags** (object) - Resource tags. - **applicationProperties** (object) - Properties of the application. ``` ```APIDOC ## azure-native:security:getSecurityConnectorApplication ### Description Gets the specified security connector application. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/applications/{applicationId} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **securityConnectorName** (string) - Required - The name of the security connector. - **applicationId** (string) - Required - The application ID. ### Response #### Success Response (200) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **location** (string) - The geo-location where the resource lives. - **tags** (object) - Resource tags. - **applicationProperties** (object) - Properties of the application. ``` ```APIDOC ## azure-native:resourceconnector:listApplianceClusterCustomerUserCredential ### Description Gets the customer user credential of the appliance cluster. ### Method POST ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{applianceName}/clusters/{clusterName}/customerUserCredentials/list ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **applianceName** (string) - Required - The name of the appliance. - **clusterName** (string) - Required - The name of the cluster. ### Response #### Success Response (200) - **username** (string) - The username for the customer user. - **password** (string) - The password for the customer user. ``` ```APIDOC ## azure-native:web:AppServiceEnvironmentAseCustomDnsSuffixConfiguration ### Description Custom DNS suffix configuration of the ASE. ### Method PUT ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customDnsSuffixConfiguration ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **name** (string) - Required - Name of the App Service Environment. #### Request Body - **dnsSuffix** (string) - Optional - The DNS suffix for the ASE. - **certificateThumbprint** (string) - Optional - The certificate thumbprint for the custom DNS suffix. ### Response #### Success Response (200 or 201) - **dnsSuffix** (string) - The DNS suffix for the ASE. - **certificateThumbprint** (string) - The certificate thumbprint for the custom DNS suffix. ``` ```APIDOC ## azure-native:web:getAppServiceEnvironmentAseCustomDnsSuffixConfiguration ### Description Gets the custom DNS suffix configuration of the ASE. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customDnsSuffixConfiguration ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **name** (string) - Required - Name of the App Service Environment. ### Response #### Success Response (200) - **dnsSuffix** (string) - The DNS suffix for the ASE. - **certificateThumbprint** (string) - The certificate thumbprint for the custom DNS suffix. ``` ```APIDOC ## azure-native:web:StaticSiteLinkedBackend ### Description Description of the linked backend. ### Method PUT ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{staticSiteName}/linkedBackends/{linkedBackendName} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **staticSiteName** (string) - Required - The name of the static site. - **linkedBackendName** (string) - Required - The name of the linked backend. #### Request Body - **region** (string) - Optional - The region of the linked backend. - **லாம்** (string) - Optional - The ARM resource ID of the linked backend. ### Response #### Success Response (200 or 201) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **region** (string) - The region of the linked backend. - **லாம்** (string) - The ARM resource ID of the linked backend. ``` ```APIDOC ## azure-native:web:getStaticSiteLinkedBackend ### Description Gets the description of the linked backend. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{staticSiteName}/linkedBackends/{linkedBackendName} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **staticSiteName** (string) - Required - The name of the static site. - **linkedBackendName** (string) - Required - The name of the linked backend. ### Response #### Success Response (200) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **region** (string) - The region of the linked backend. - **லாம்** (string) - The ARM resource ID of the linked backend. ``` ```APIDOC ## azure-native:web:StaticSiteLinkedBackendForBuild ### Description Description of the linked backend. ### Method PUT ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{staticSiteName}/linkedBackends/{linkedBackendName} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **staticSiteName** (string) - Required - The name of the static site. - **linkedBackendName** (string) - Required - The name of the linked backend. #### Request Body - **region** (string) - Optional - The region of the linked backend. - **லாம்** (string) - Optional - The ARM resource ID of the linked backend. ### Response #### Success Response (200 or 201) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **region** (string) - The region of the linked backend. - **லாம்** (string) - The ARM resource ID of the linked backend. ``` ```APIDOC ## azure-native:web:getStaticSiteLinkedBackendForBuild ### Description Gets the description of the linked backend. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{staticSiteName}/linkedBackends/{linkedBackendName} ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **staticSiteName** (string) - Required - The name of the static site. - **linkedBackendName** (string) - Required - The name of the linked backend. ### Response #### Success Response (200) - **id** (string) - The ID of the resource. - **name** (string) - The name of the resource. - **type** (string) - The type of the resource. - **region** (string) - The region of the linked backend. - **லாம்** (string) - The ARM resource ID of the linked backend. ``` ```APIDOC ## azure-native:web:listWorkflowRunActionExpressionTraces ### Description Gets the traces associated with a workflow run action. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/workflows/{workflowName}/runs/{runName}/actions/{actionName}/traces ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **siteName** (string) - Required - The name of the site. - **workflowName** (string) - Required - The name of the workflow. - **runName** (string) - Required - The name of the run. - **actionName** (string) - Required - The name of the action. ### Response #### Success Response (200) - **value** (array) - A list of traces. ``` ```APIDOC ## azure-native:web:listWorkflowRunActionRepetitionExpressionTraces ### Description Gets the traces associated with a workflow run action repetition. ### Method GET ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/traces ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **siteName** (string) - Required - The name of the site. - **workflowName** (string) - Required - The name of the workflow. - **runName** (string) - Required - The name of the run. - **actionName** (string) - Required - The name of the action. - **repetitionName** (string) - Required - The name of the repetition. ### Response #### Success Response (200) - **value** (array) - A list of traces. ``` ```APIDOC ## azure-native:web:listWorkflowTriggerCallbackUrl ### Description Gets the callback URL for a workflow trigger. ### Method POST ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl ### Parameters #### Path Parameters - **subscriptionId** (string) - Required - The ID of the target subscription. - **resourceGroupName** (string) - Required - The name of the resource group. - **siteName** (string) - Required - The name of the site. - **workflowName** (string) - Required - The name of the workflow. - **triggerName** (string) - Required - The name of the trigger. ### Response #### Success Response (200) - **value** (string) - The callback URL. ``` -------------------------------- ### AutoRest Configuration - Basic Information Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/nodecustomization/readme.md Global settings for the ContainerServices API. This configuration is applied by default. ```yaml openapi-type: arm tag: package-2025-09-02-preview ``` -------------------------------- ### Workloads Resources Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CHANGELOG_OLD.md Manage SAP Virtual Instances and Workloads. ```APIDOC ## POST /api/workloads/v20211201preview/sapVirtualInstances ### Description Creates or updates a SAP Virtual Instance. ### Method POST ### Endpoint /api/workloads/v20211201preview/sapVirtualInstances ## POST /api/workloads/v20211201preview/phpWorkloads ### Description Creates or updates a PHP workload. ### Method POST ### Endpoint /api/workloads/v20211201preview/phpWorkloads ## POST /api/workloads/SAPCentralInstances ### Description Creates or updates a SAP Central Instance. ### Method POST ### Endpoint /api/workloads/SAPCentralInstances ## POST /api/workloads/ProviderInstances ### Description Creates or updates a Provider Instance. ### Method POST ### Endpoint /api/workloads/ProviderInstances ``` -------------------------------- ### Specify 2018-09-preview API for OpenShift Managed Clusters Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/test-data/managedcluster/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md This configuration applies when the `--tag=package-2018-09-preview-only` flag is used. It specifies the input file for the 2018-09-30-preview version of OpenShift Managed Clusters. ```yaml $(tag) == 'package-2018-09-preview-only' input-file: - preview/2018-09-30-preview/openShiftManagedClusters.json ``` -------------------------------- ### Pulumi.yaml for v2 Program Source: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/provider/test-programs/upgrade-aks-api-version/README.md Defines the Pulumi project for the v2.90.0 deployment using versioned resource types. ```yaml name: upgrade-aks-api-version runtime: go backend: url: file://../.. description: AKS API Version Upgrade Test (v2.90.0) ``` -------------------------------- ### Generate Schema Command Source: https://github.com/pulumi/pulumi-azure-native/blob/master/CLAUDE.md Generates the provider's schema by processing Azure OpenAPI specifications. ```bash make schema ```